Hi Team,
We have Business Services REP as parent. Once we expand Business Services REP, we will get all child columns.
responseDataKey : "EMPLOYEE_NAME",
dataSourceType: "json",
autoGenerateColumns : false,
primaryKey: "EMPLOYEE_NAME"
And columns –
columns: [
{key: "EMPLOYEE_NAME", headerText: "Business Service Rep" ,dataType:"string"}]
Here, the issue is – if you see the first name “Ablett, William J. (Jim)”, it has comma, dot and round brackets and if we use this column as Primary Key column we get an exception.
What we understood is that primary key column value doesn’t work with dot or round brackets.
Our requirement is we want exact same name to be displayed and also we don’t want to add any more column as Primary Key column.
How can we achieve “Ablett, William J. (Jim)” as Primary Key value or is there any other alternative we can handle this situation?
Hello Tapas,
I am glad that you managed to achieve your requirement.
Thank you for using Infragistics components.
No problem Martin,I have got a workaround and its working . thanks for your support
Unfortunately, it is a known limitation for our grid that you can not set special characters in primary key. There is no workaround because it is not our product issue but in jQuery. Also, jQuery selectors does not work with special characters.
Let me know if I can help with anything else!
Best Regards,
Martin Dragnev,
Infragistics
ok, I am getting issue for parent grid which is having special characters in primary key
Setting special characters in primaryKey property is known limitation in the igGrid that does not have a workaround because the jquery selector does not recognize items with special characters.
You can read more about that here.
Also, you can specify all of the child grids primary keys in the "columnLayouts" property.
Please let me know if you have any additional question or concerns!
Best Regards,Martin Dragnev,