[CLOSED] buffered scrolling + selected rows + filtering

  1. #1

    [CLOSED] buffered scrolling + selected rows + filtering

    Hello,

    I am using the following example:

    http://mvc.ext.net/#/GridPanel_Infin...red_Scrolling/

    With the following modifications :
    1- Replacing line : SelectionModel(Html.X().RowSelectionModel().PruneR emoved(false))
    With : SelectionModel(Html.X().CheckboxSelectionModel().M ode(SelectionMode.Multi).CheckOnly(true).PruneRemo ved(false))

    2- Adding : Features(Html.X().GridFilters().Filters(f => f.Add(Html.X().StringFilter().DataIndex("name"))))

    3- Adding: SelectionMemory(true) to the gird

    4- Adding PageSize(50).LeadingBufferZone(50).TrailingBufferZ one(50).RemoteFilter(ture)

    Is it possible to keep selected rows checked in the grid even when user filter the data using header filter on the column Name?

    Knowing that If i removed PruneRemoved(false), then i selected a row and filtered the data , i would get a javascript error :
    In chrome, the error say: Uncaught TypeError: Cannot read property 'length' of undefined
    Last edited by Daniil; Nov 18, 2014 at 5:22 PM. Reason: [CLOSED]
  2. #2
    Hi @UnifyEducation,

    As far as I can know the SelectionMemory doesn't support your scenario, unfortunately.

    You can try to implement it by your own.
  3. #3
    Hi Danill,

    Ok, thanks for your reply.

Similar Threads

  1. Replies: 5
    Last Post: Apr 27, 2016, 12:43 AM
  2. Replies: 4
    Last Post: Jul 30, 2013, 5:29 PM
  3. [CLOSED] Buffered Grid Scrolling repeats rows
    By jwhitmire36 in forum 2.x Legacy Premium Help
    Replies: 10
    Last Post: Feb 09, 2013, 5:49 AM
  4. [CLOSED] Buffered Grid with filtering and editing
    By jchau in forum 2.x Legacy Premium Help
    Replies: 1
    Last Post: Jan 13, 2013, 6:39 AM
  5. Replies: 1
    Last Post: Oct 13, 2010, 11:09 PM

Posting Permissions