selectionModel.deselectAll() in server

  1. #1

    selectionModel.deselectAll() in server


    I have a grid, a selectionModel (checkbox) and a store with approximately 30000 records. Then I want to select and unselect all records from C # since when doing it from the web browser collapses.

    In other words I require a method similar to:
    App.grdGeocercasAll.getSelectionModel (). DeselectAll ();
    But done from the server with code in C #.
    Try the following but it does not work:
    RowSelectionModel sm = grid.SelectionModel.Primary as RowSelectionModel;
    Sm.DeselectAll ();
    Sm.UpdateSelection ();
    Thanks for your help
  2. #2
    Have you tried rebinding the data?. What Is the purpose displaying 30000 records?

Similar Threads

  1. SelectionModel with end row
    By Kai_it in forum 1.x Help
    Replies: 2
    Last Post: Oct 23, 2011, 11:53 AM
  2. SelectionModel vs Listeners
    By Juls in forum 1.x Help
    Replies: 1
    Last Post: Apr 07, 2009, 6:02 PM
  3. SelectionModel Rowselect
    By dreambe in forum 1.x Help
    Replies: 0
    Last Post: Feb 18, 2009, 10:44 AM
  4. How to clean (really) a SelectionModel ?
    By eliezer in forum 1.x Help
    Replies: 4
    Last Post: Feb 06, 2009, 3:08 PM
  5. [CLOSED] UpdatePanel and SelectionModel
    By Timothy in forum 1.x Premium Help
    Replies: 14
    Last Post: Oct 03, 2008, 9:01 AM

Tags for this Thread

Posting Permissions