Results 1 to 2 of 2

Thread: Multiple select on grid and deselect when click on row.

  1. #1
    Sencha User
    Join Date
    May 2017

    Default Multiple select on grid and deselect when click on row.

    Hello i trying to create grid that when i click on row its toggle him (or select or deselect) but its not working with mode "simple".

    I want to choose multiple rows and when i click again the row its deselect him.

    Now when i click the row and click outside the grid (and not immediately then i clicked the row) its deslect the row.

    what can i do?
    This is what i am tried:
    var packageGrid =Ext.create('js.grid.MyGrid',{
    selModel:{mode:'SIMPLE', ignoreRightMouseSelection:true,allowDeselect:true, preventFocus:true, toggleOnClick:true}
    but i read the mode "simple" and toggleOnClick not working together.
    what i can do ?

    tnx a lot

  2. #2


    Hi, try again with this:
    var packageGrid =Ext.create('js.grid.MyGrid',{
    :{mode:'MULTI', ignoreRightMouseSelection:true,allowDeselect:true, preventFocus:true, toggleOnClick:true}

Similar Threads

  1. Ctrl click to select/deselect in dataview
    By m.j in forum Ext JS 6.x Q&A
    Replies: 2
    Last Post: 4 Aug 2018, 7:41 PM
  2. [CLOSED] CheckBox Grid does not deselect on row click
    By hphung in forum Sencha GXT Bugs
    Replies: 3
    Last Post: 24 May 2012, 1:32 PM

Posting Permissions

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