I have to show thousands record in wingrid.Due to performance issue i want to show in pages.Is it possible to show paging in windows grid means wingrid.
No, the WinGrid has no paging functionality. It does, however, support load-on-demand. You should check out the UltraDataSource component and the Million Row samples.
I have one dataset which contains 10,000 recorsd.I have one ultradatasource and one wingrid.I set wingrid's datasource to ultradatasource .
Now our ultradatasource contains 0 records.Now in ultradatasource 's CellDataRequested event i have to assign e.row values.
How i can know which record is to select from dataset.it is only on basis of index like 1,2.
But in dataset there are unique identifier for each record.
Please let me know.
I understood the thing.What I did.I placed a wingrid,ultradatasource in the form.In ultradatasource CellDataRequested event I am assigning e.data , values from datatable. It is ok .It is giving improvement. I also wrote in wingrid ' InitializeRow event ,in that I am assigining values to grid cells by calculating.That time CellDataUpdating event is fired for ultradatasource.I donot want to fire this event at this time.Please suggest me what to do?Also if i use this paging functionality is included in my full fleedeged wingrid application ,where we have used sorting,group by,will it give imact or i can use paging freely. Will CellDataUpdating event will slow down the performance given by paging
Please let me know
Hi,
I am using ultrawingrid in my application. I want to use pagination feature not for performance problem but it is our client requirement to show records using pagination.
This is really urgent requirement. So please can u let me know how to achieve pagination feature in ultrawingrid?
Can we create some custom feature to achive pagination?
Well, there's not much information here to go on. Why is CellDataUpdating firing? It sounds to me like your calculated column is in the UltraDataSource and you are setting it's value, so the event fires. If you want to set the Value on the cell without firing the event, you could unhook from the event, I guess. I'm really not sure what you are asking.
I am loading data on CellDataRequested event. In grid one cell ,is calculated column , means its value is calculated by adding two cells value.I wrote this in InitializeRow event of grid.As i am setting cells's value, ultradatasource's celldataupdating event is triggered.I want to avoid this event at this time.It slows our performance.
I'm afraid I really don't understand your question. If you are loading data on demand, then this is typically done in the CellDataRequested event of the UltraDataSource. I'm not sure if using InitializeRow in the grid is a good idea.