Hi!
Is it possible to configure the UltraWebGrid control in a way that only a row, not a single cell selection is possible?
I want the Grid to select the entire row when a single cell is clicked.
Is there a way to do that?
Thanks in advance!
Hello Sudhakar,
So, you need to open a new page based on the row selected of the grid, all of this wihtout postback? Thank, you can take a look at the following JavaScript example on how to get the selected row(s) at client side:
var gridId = igtbl_getGridById("<The ID of your UltraWebGrid>");var rowId, row;if(igtbl_getLength(gridId.SelectedRows)>0){ for(rowId in gridId.SelectedRows){ row = igtbl_getRowById(rowId); <Your action on the selected row(s) goes here> }}
For further informations about the JavaScript Methods and Properties of the UltraWebGrid look for CSOM (Client Side Object Model) in the help documentation.
Hello,
I have Implemented UltraGrid and Submit button. I select the grid row then click the submit button open news page using javascript clientside. any one have idea regarding this issues?
Please help to me
Thanks and Regards
Sudhakar Rao MCSD.Net,MCTS
That is just what I wanted - thank you so much!
You can set the property CellClickActionDefault ="RowSelect" and then you can select row when a single cell is clicked.
<DisplayLayout Name="UltraWebGrid1" AllowColSizingDefault="Free" AllowColumnMovingDefault="OnServer"
AllowDeleteDefault="Yes" AllowSortingDefault="OnClient" AllowUpdateDefault="Yes"
BorderCollapseDefault="Separate" HeaderClickActionDefault="SortMulti" RowHeightDefault="20px"
RowSelectorsDefault="No" SelectTypeRowDefault="Extended" CellClickActionDefault="RowSelect"
StationaryMargins="Header" StationaryMarginsOutlookGroupBy="True" TableLayout="Fixed"
Version="4.00" ViewType="OutlookGroupBy">
Check out the CellClickAction property. Set it to RowSelect
Devin