Click no response when Datagrid has only one item row.

  • Thread starter Thread starter Leo
  • Start date Start date
L

Leo

My application has a datagrid, which has only one column.
The datagrid works properly when more than one row data
is populated. However, sometimes, the datagrid1 has only
one single item row. When I click the item row, no event
is invoked.

Can someone tell me how to respond to the datagrid click
event if the datagrid has only one item row ?
 
Hi Leo,

What kind of events you are looking for?
If you are looking for DataGrid.Click event, it shoud be there.
If you are looking for DataGrid.CurrentCellChanged event, you probably
cannot get it if the row is not changed.

John Chen
 
Back
Top