Results 1 to 2 of 2

Thread: ExtJs 2.5- grid panel RowSelectionModel hasSelection() property not set to True.

  1. #1
    Sencha User
    Join Date
    Jun 2017

    Default ExtJs 2.5- grid panel RowSelectionModel hasSelection() property not set to True.

    Hello ,

    I have a GridPanel and a RowSelectionModel which are bound to a comboBox,
    When data is bound to the Grid there is code which updates the currentlySelected Rows for the RowSelectionModel. This is the previousSaved value which was selected for the combo box.

    If (fieldMappingTypeID = ConfigUtilities.GetIntKey("Field Value", 0)) Then
    cboFAField.Disabled = False
    Dim sm As RowSelectionModel = CType(Me.grdFAFieldForMapping.GetSelectionModel(), RowSelectionModel)
    sm.SelectedRows.Add(New SelectedRow(SourceFacFieldId.ToString))
    End If

    The issue is on Updating the Selection for RowSelectionModel its property hasSelection() is not updated to true and if user clicks save the JavaScript validation fails because hasSelection() is set to false. This property sets to true only if the user clicks on the combo box. This property should be set automatically on updating the selection for RowSelectionModel edits.

  2. #2
    Sencha User
    Join Date
    Feb 2013


    I don't believe that there was a Ext JS 2.5 release. Do you mean 6.5.0? Are you able to recreate this issue in a test case?

Similar Threads

  1. Replies: 1
    Last Post: 14 Jan 2014, 12:21 PM
  2. Problems when setting panel's floating property to true
    By taymoor in forum Sencha Touch 1.x: Discussion
    Replies: 0
    Last Post: 21 Jul 2011, 5:06 AM
  3. property grid is shifting left side when add autoscroll:true
    By Dhanrajb in forum Ext 3.x: Help & Discussion
    Replies: 0
    Last Post: 2 May 2011, 1:26 AM
  4. Replies: 0
    Last Post: 28 Sep 2010, 8:41 AM
  5. a problem with Panel's frame:true property
    By [email protected] in forum Ext 2.x: Help & Discussion
    Replies: 5
    Last Post: 5 Oct 2008, 11:09 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts