DataGrid - Perform FullRowSelect without using Parent Row - Can Add Pic on Datagrid

  • Thread starter Thread starter A_PK
  • Start date Start date
A

A_PK

Just wonder default datagrid able to support fullrow select while I click
the column cell or not. I am aware of that if we click the parent row, then
the full row will be selected. but I want to hide the parent row, and if
there any way to do when I click the column cell, then the full row will be
selected ?

another question. how to add pic to Datagrid ?
 
You'll need to have the RowHeadersVisible property set true to allow the
user to select full rows with a single click.

The DataGrid in .NETCF supports only text. Using the SmartGrid from Resco
you can incorporate images and other formatting -
http://www.resco.net/developer/smartgrid/

Peter
 
I'm not sure if that's what you want, but in the Click event of the Datagrid
I simply do something like:

gridControl.Select(gridControl.currentrowindex)

And the entire row is selected, rather than just the cell that was tapped.
No need for the row headers (they're hidden in my application.)
 
Back
Top