Click no response when Datagrid has only one item row.

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 ?
 
J

John Chen

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top