Hello,
I am using Iggrid where I have to use id for each row and each column. I an getting an error that "property is undefined". I saw in a forum that is showing "HTML attributes are not allowed inside Iggrid".
can you please suggest how i can achieve this .
Thanks and Regrds,
Amita
HI Amitha,
I am glad this worked for you.
Hi,
Thanks for the response.I have used the rowindex instead of id.
Thanks
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Hello Amita,
Basically the igGrid rows can be identified by the following properties:
rowId - identifier of row such as value at primaryKey-column of igGrid. For example if you have column "ProductID" and the give product id is 45, then the rowId for that record/row will also be 45
rowIndex - index of row within dataSource of grid - the first row will have rowIndex = 0
However these can not be set, you can only get their values. If you specify why do you need them (what do you want to the with the rows) I will be able to suggest an approach.
Hi Hristo,
Thanks for your quick response.
I am using Ignite UI IgGrid Jquery control.
Actually previously I was using HTML table . I was using ID attribute of each row and columns in Javascript for CRUD operations. Currently for some requirement changes, I have to use Iggrid instead of HTML table. If we use index of row instead of Row ID , code changes will be massive.
So I want to confirm whether it is possible to set row ID in Ignite UI IgGrid Control.
Please let me know if u need any further information.
Regards,