how to clear RowSelectionModel

  1. #1

    how to clear RowSelectionModel

    RowSelectionModel selectModelRoles = gpCatenaList.SelectionModel.Primary as RowSelectionModel;
    selectModelRoles.ClearSelections();
    selectModelRoles.UpdateSelection();

    question: I want to clear the RowSelectionModel .But it do not work.please help me.thanks
  2. #2

    RE: how to clear RowSelectionModel

    I do not understand what you mean. Do you want to clear grid row selection?

    If yes here is the sample.

                RowSelectionModel sm = this.GridPanel2.SelectionModel.Primary as RowSelectionModel;
                sm.SelectedRows.Clear();
                sm.UpdateSelection();

Similar Threads

  1. [CLOSED] RowSelectionModel REV 3986
    By Aurelio in forum 2.x Legacy Premium Help
    Replies: 4
    Last Post: May 05, 2012, 1:39 PM
  2. IE8: Link not working with RowSelectionModel
    By Ritesh in forum 1.x Help
    Replies: 1
    Last Post: Sep 20, 2010, 3:47 PM
  3. GridPanel RowSelectionModel firing
    By moth1 in forum 1.x Help
    Replies: 0
    Last Post: Jun 19, 2009, 12:19 AM
  4. RowSelectionModel how to only one selectRow?
    By iscript in forum 1.x Help
    Replies: 2
    Last Post: Jun 13, 2009, 2:22 AM
  5. RowSelectionModel Help
    By Timothy in forum 1.x Legacy Premium Help
    Replies: 0
    Last Post: Oct 24, 2008, 5:06 PM

Posting Permissions