Is there a setting or simple code that makes a row 'selected' when the user clicks a cell in the row?
I am returning data based on grid_doubleclick and the first thing I check is
If dg.DisplayLayout.SelectedRows.Count = 0 Then
Exit Sub
End If
to make sure they have selected a valid row.
This should do it.
gridname.Displaylayout.CellClickActionDefault = UltraWebGrid.CellClickAction.RowSelect
thanks,
I tried that, I have the following set.
ColWidthDefault="200px" EnableInternalRowsManagement="True"
rowheightdefault="15px" rowsrange="20" SelectTypeCellDefault="None"
stationarymargins="Header" tablelayout="Fixed"
ColFootersVisibleDefault="Yes" ViewType="OutlookGroupBy"
CellClickActionDefault="RowSelect">
but when double clicking the the cell or any cell on the row, it fails the
dgRecipList.DisplayLayout.SelectedRows.Count test. Because it equals 0.
can you see anywhere else I might be missing something?