Home Forums WinForms controls Xceed Grid for WinForms Virtual Mode and AddingDataRow Reply To: Virtual Mode and AddingDataRow

User (Old forums)
Member
Post count: 23064

For others who might be interested the issue if you use a virtual grid w/ a paging table and you don’t want the grid to page to the last page and then back, is that the grid reads the final page of data by default to figure out where the thumbnail is at.  

      If you set your site of the DataRowTemplate.Height to your default height, then the grid doesn’t have to look at the last grids.  So on my “browse” grids, I just added the code of line: 

<gridname>.DataRowTemplate.Height = <gridname>.DataRowTemplate.Height;

 This basically causes the grid to be hard coded to x(16 in my case) number of pixels height for each line.    I assume this removes the ability to wrap lines, unless I manually wrap them — but I don’t need that on my 10000+ row browses.

Nathan.

Imported from legacy forums. Posted by Nathanael (had 1621 views)