Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Reg: ListGrid Selection Appearance Checkbox

    Hi,

    I am trying to implement multi Selection in ListGrid by using the SelectionAppearance:"checkbox". And It worked fine. But I need to have the below features which are not working now:

    1) Record should be selected If I am clicking anywhere in the record. But Currently record is selected only when I click on checkbox.

    2) If I need to select multiple records then I shouldn't be using Ctrl to select multiples. But Currently I need to press Ctrl and then only I can select multiple records.

    Please suggest me how to resolve the above 2 issues.

    We are working on the below environment:

    Smartclient version : Isomorphic SmartClient/SmartGWT Framework (9.1p_2014-09-04/PowerEdition Deployment 2014-09-04)

    Browser : IE9

    Thanks in advance

    #2
    2. selectionType:"simple" is the default for selectionAppearance:"checkbox". You probably explicitly set selectionType:"multiple", just remove this setting. This is explained in the docs for listGrid.selectionType

    1. if you want this behavior you will need to add a recordClick handler than toggles selection via selectRecord()/unselectRecord()

    Comment

    Working...
    X