This is a migrated thread and some comments may be shown as answers.

Virtual Scrolling Issue

0 Answers 117 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Niluka Subasinghe
Top achievements
Rank 1
Niluka Subasinghe asked on 14 May 2012, 12:58 PM
Hi,
I'm using a kendo UI grid. I have enabled the Server pagination and virtual pagination. I have implemented read and update behaviors for the grid. Now my issue is when I'm scrolling down using the scroll bar (virtual pagination), server side get method is executed and loaded the data accordingly. but when  i go to the client side and debug the code,  i could find the data source is not updated accordingly.Still it has the old data. In the other words, it has the data which is loaded first time the grid is loaded. so i could not populate that data in my separate partial edit view.

my second issue is i could not implement the server sorting still. can you just provide me code sample for both client side and server side coding for this. what I just tried out was,
in the client side i enabled the sorting as 
------
serverSorting: true,
allowUnsort: true,
------
sortable: true,
------

in the server side,
 [HttpPost]
        public JsonResult GetAll(int skip, int take, List<GridSort> sort)
        {
-------
}

but always, I'm getting the null values for the field and dir properties of the GridSort item.
what is the code for the client side for the above implementation?

Can please help me on these above 2 issues?

Niluka

No answers yet. Maybe you can help?

Tags
Grid
Asked by
Niluka Subasinghe
Top achievements
Rank 1
Share this question
or