How to do a kind of DataGrid.Select( int ColumnNumber )?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi there,

Could somebody give me a hint as how to implement a method that allows users
to click on a column header to select the entire columns (displaying reversed
forecolor and backcolor, just like in Excel or Access)? I tried to loop over
all rows to do TextBox.SelectAll(), but that doesn't work at all. Do I have
to derive a ColumnStyle and override Paint method?

Thanks in advance!

Jian Yang
 
You will have to use dhtml a think you can find some info in the msdn site.
there are some special libraries that do lots of thing with grids... very
cool stuff
 
Back
Top