We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

virtual grid with SaveCellInfo event

Thread ID:

Created:

Updated:

Platform:

Replies:

39024 Dec 22,2005 08:54 PM UTC Dec 24,2005 02:47 PM UTC WinForms 1
loading
Tags: GridControl
Hui Zhong
Asked On December 22, 2005 08:54 PM UTC

We are going to use the virtual grid to show data from a dataview or datatable. User can edit the cell value. First I did not call ResetVolatileData(). I use some code like : GridStyleInfo cell = this[0, ++i]; cell.text =.... to populate the header cell, then in the event QueryCellInfo, using the following code: if (row > 0 && col > 0 ) { string colCaption = this[0,i].text; e.Style.CellValue = _view[row -1, colCaption].Tostring(); } so far the grid is showing as expected. However, when we want to add the code in SaveCellInfo event, and build it again. Run it, and found this[0,i].text in event QueryCellInfo always return "", instead of the string we set. Of couse, in the scenario, the cell value is not showing correctly. Then I add the code ResetVolatileData(). Build again. All cells value are displayed correctly, and the cell value can be editted, and refreshed. However, the first row (Header Row) is not displayed as expected, it only show "A", "B"..... Please let me know how to implement the editable virtual grid, and display the header row correctly. Thanks.

Administrator [Syncfusion]
Replied On December 24, 2005 02:47 PM UTC

Hi Hui, I tried to see the issue in the attached sample. Header texts are displayed correctly and I could access them in QueryCellInfo/SaveCellInfo event handlers. Do you see the issue in this sample? Is it possible to upload a small sample? Also what version of the Syncfusion grid are you using? Best regards, Jay Virtualgrid_Header

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;