Rank: Member Groups: Member
Joined: 2/24/2009 Posts: 16
|
Hi, I am trying to highlight entire when i click on any of the cell. I tried with FullRowMode="true" but this causing all row to static (not editable). Is there any way to highlight entire row while editing a cell?
Thanks, Alvin
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You can either edit/select based on cell or row. When you have FullRowMode set to False, you will edit/select based on cell. In this mode, you can not select the whole row. That also means you can not highlight the entire row while you are only selecting a single cell. Also in this mode clicking a cell automatically enters edit mode.
When you have FullRowMode set to True, you will edit/select based on row. In this mode the Grid will highlight the entire row (assuming that styles are correctly set) when you edit a row. However in this mode clicking a cell does not automatically enters edit mode. You would usually have a EditCommandColumn that would display an "Edit" button for user to put the entire row into edit mode. You can also call client side JavaScript function editItem to put the row into edit mode.
Thanks!
|