[CLOSED] GridPanel : Deselect / clearHighlight selected Row

  1. #1

    [CLOSED] GridPanel : Deselect / clearHighlight selected Row

    Hi
    in this example I select 1st row ,now how I deselect that selected row with button click (without click another row ,because in my situation the grid has only one row. )I try

     App.Gridtest.getView().clearHighlight();
    but not working
    Last edited by Daniil; May 22, 2015 at 8:12 AM. Reason: [CLOSED]
  2. #2
    Hi @matrixwebtech,

    A selection model's
    .deselectAll()
    should do the job.
    http://docs.sencha.com/extjs/4.2.1/#...od-deselectAll
  3. #3
    Sorry I forgot to mention I am not use any SelectionModel ,like this example please suggest me what I do for this case.
  4. #4
    There is a RowSelectionModel used by default even if you don't define it. When you click a row it gets actually selected.
  5. #5
    Thanks,
    please close this.

Similar Threads

  1. Replies: 4
    Last Post: Jul 30, 2013, 5:29 PM
  2. Replies: 2
    Last Post: Jul 30, 2013, 1:44 PM
  3. [CLOSED] Gridpanel DeSelect
    By majestic in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Dec 17, 2010, 1:22 PM
  4. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM
  5. gridpanel row deselect on ext window close
    By jmilton in forum 1.x Help
    Replies: 5
    Last Post: May 06, 2009, 8:57 PM

Posting Permissions