Hi,
How can I get the rowindex in the igHierarchialGrid in controller.
grid.Columns.Add(new GridColumn { HeaderText = "Begin Signing",Key = "SignatureStatus",DataType = "string",Template = "#This comment will be ignored#<p>$i</p>",Width = "10%" });
I am seeing the reference http://help.infragistics.com/Help/Doc/jQuery/2014.1/CLR4.0/html/igTemplating%20Overview.html#_Ref317270135
Your help is much appreciated.
I changed the code as below:
"id=btn_$i"
grid.Columns.Add(new GridColumn { HeaderText = "Begin Signing",Key = "SignatureStatus",DataType = "string",Template = "<button id=btn_$i class='btn' {{if ${SignatureStatus} }} disabled=disabled {{/if}} onclick=fanxyboxOpen(${SignerIndex},${eSign})>Start</button> ",Width = "10%" });
But when I see the html, the Id for the btn is btn_0, btn_0 and same for each button in the row. I current test data, I have 3 rows, so it should be btn_0, btn_1,btn_2, right? Why $i is not incrementing?
Hi Raghavendra Dinavahi,
Thank you for posting on our forums.
I have investigated the issue regarding the template indexing feature not being applied to your buttons. I have asked our Product Development to examine this further. To ensure that it will receive attention, I have logged this behavior in our internal tracking system with a Development ID of 171607. The next step will be for a developer to review my investigation and confirm my findings or to offer a fix, or other resolution.
I will be sure to post the resolution onto this thread once more information becomes available.