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'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.
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.
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.
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?