Quantcast
Viewing all articles
Browse latest Browse all 7205

How to provide the capability to create fixed rows in the GridView

The current example illustrates how to implement a functionality for creating fixed rows, which will be displayed on top of the GridView.

Question Comments

Added By: Vlad Gonchar at: 12/12/2013 12:09:54 PM    

Thank you for proposed code, but it does not work properly for few reasons:

1. Method UpdateFindControlVisibility used in GridViewInfoFixedRows class is not defined in the code you provided

2. I added new bool column at the and of DataTable, assigned it to grid's DataSource, then I changed VisibleIndex for the column to 0 to have it first in a row, but in fixed row this column's value is still shown at the end of row as word "false"/"true".

Regards,
Vlad

Added By: Vlad Gonchar at: 12/13/2013 9:17:25 AM    

There is more failures in this code:

3. The fixed row does not move together with other rows when I move horizontal scroll bar

Added By: Jackson Cheng at: 5/15/2015 1:15:14 AM    

Me too. When I scroll the grid horizontally the column header moves in a different rate than the cells.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>