How to highlight records in datagrid ?

  • Thread starter Thread starter Anand Ganesh
  • Start date Start date
A

Anand Ganesh

Hi All,

I am using a datagrid to display a table. Based on a query I want to
highlight few records in the datagrid at the same time I want to show those
records which does not satisfy the query as un-highlighted.

Any clue on how to do this?

Thanks for your time and help.

Regards
Anand Ganesh
 
use DatagridTableStyle to do it... create it dynamically on the basis of
datasource. check MSDN documentation.
 
Do you mean I should scan each row by row whether it satisfies a particular
query and if so then highlight that row.

It will be very inefficient if I have few thousands of records and also much
time consuming.

I am looking for some internal member function which will do this task.

I searched the documentation and could'nt find and this is where I need some
help
 
Back
Top