AD
Administrator
Syncfusion Team
July 11, 2005 03:50 PM UTC
The only way I would know to easily do this would be to have this scrollable column be the last column on the right. Then you could make all the other columns frozen, and use pixel scrolling on the last one.
this.grid.HScrollPixel = true;
this.grid.Model.Cols.FrozenCount = this.grid.Model.ColCount - 1;
AD
Administrator
Syncfusion Team
July 11, 2005 04:17 PM UTC
Thanks, Clay, but I want the first column to be scrolled, where my treeview is. I was looking at the sample
Windows\Grid.Windows\Samples\DataBound\Hierarchical\GDBGTreeLines
and I was missing this functionality there as well.
AD
Administrator
Syncfusion Team
July 11, 2005 05:22 PM UTC
The only way I would know to do this is to dock a scrollbar at the bottom of a panel. Then dock a grid to the side of the panel and then dock-fill a 2nd grid. In the right-grid, display only the frozen columns. Then in the dockfill grid, display the single scrollable column. You can then handle events to sync the two grid up. You would also need to use a detached scroll as in the quickstart\scrollbars sample.
Here is a very rought try at this. It would take additional time to polish the look.
http://www.syncfusion.com/Support/user/uploads/GDBG_ScrollLeft_9dbfdc36.zip