In Webdatagrid, how can one find hidden field in cellValueChange event for current row?
Hello Birendra,
Thank you for contacting Infragistics Developer Support!
If by hidden field you mean a cell in a hidden column of the grid accessing it client side is pretty straightforward.
function handler(sender, args) {
var row = args.get_cell().get_row();
// Get cell by index
var targetCell = row.get_cell(index);
// or get by column key
var targetCell = row.get_cellByColumnKey(key);
....
}
Feel free to contact me for further information.
Thanks for replying. By Hidden field, I mean to say that in template I had defined asp:hiddenfield like below. And I want to search it in current row.
<ig:WebDataGrid ID="dataGridBrands" runat="server" Height="350px" Width="100%" AutoGenerateColumns="False">
........................
<ig:TemplateDataField Key="ChangeTo" Hidden="true">
<ItemTemplate>
<asp:HiddenField ID="hfChangeTo" runat="server" />
</ItemTemplate>
</ig:TemplateDataField>
......
</ig:WebDataGrid>