Hi Team,
We are migrating 12.2 sample to 14.1. In web hierarchical data grid the expand symbol is not coming when no rows are binder in chlild band. But it is working perfectly in IG12.2.
Our requirement is to have a the parent grid in one level and on expamd click ajax call is made to get the data from database and will bind the data to child level using client elements rowexpanding.
In the sample last row has no child band atached to it, so the expend button is not viisible.
Please review and advise.
We want the expand symbol to be attached to every row irrespective of the child row availability.
Regards,
Ahmed.
Hi Infragistics,
Could you please advise on above issue.
Ahmed
Dear Ahmed Shaik,
Thanks for using Infragistics controls!
I believe adding following code may help you in order to resolve your issue.
protected void WebHierarchicalDataGrid1_InitializeRow(object sender, RowEventArgs e) { ((ContainerGridRecord)e.Row).IsEmptyParent = true; }
Hi,
I tried decodeURIComponent method but it did solve my issue. It is still extracted as AT&T INC instead of AT&T INC. Please help.
On lighter Note:
The encoding which is happening is HTMLEncode in my case rather than URLIEncode/Decode.
In that case you should use get_value().
Best Regards,
Stanimir Todorov
Hello,
I am still following your case. Have you been able to resolve the issue?
If you have any concerns or questions, please feel free to contact me, I will be glad to help you.Thank you for choosing Infragistics components!
That too did not work in our case.
decodeURIComponent does encoding in a different way and acts upon different special character. It does not match our set of character which all are encoded. Sowe wrote custom function which will be called for every extration of value from the fields in client side.
It would be helpful if you provide us what are all the character that will get encoded as a part of cross site scripting in IG14.2. So that we could frame the custom function in a better way.
The function escape replaces all occurrences of & < > html with their corresponding character: &, <, >
Here is the implementation - str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")