Hi, there I'm having an issue with the UltraWebGrid control.
I need to be able to set the UltraWebGrid control in edit mode on a single mouse click when I select an entire row.
Is there a way to implement this functionality?
Thanks.
This would require setting up a client side event handler:
JS:
<script type="text/javascript" id="igClientScript">
<!--
function UltraWebGrid2_BeforeEnterEditModeHandler(gridName, cellId)
{
var grid = igtbl_getGridById(gridName);
var cell = igtbl_getCellById(cellId);
grid.clearSelectionAll();
cell.getRow().select();
}
// -->
</script>
ASPX:
<DisplayLayout AllowUpdateDefault="Yes" CellClickActionDefault="Edit" SelectTypeRowDefault="Single" ...>
<SelectedRowStyleDefault BackColor="#99FF99">
</SelectedRowStyleDefault>
<ClientSideEvents BeforeEnterEditModeHandler="UltraWebGrid2_BeforeEnterEditModeHandler" />