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 Ahmed,
It's working in following versions:
14.1.20141.2323
13.2.20132.2287
14.2.20142.2123
15.1.20151.108
Hello,
I'm just following up to see if you need any further assistance with this issue. If so please let me know.
Best Regards,
Hi,
Unfortunately I couldnt get the versions (13.2.20132.2287, 14.1.20141.2323, 14.2.20142.2123, 15.1.20151.108) which you suggested.
However there is one version 14.2.20142.1028 available, could you please verify and confirm if this works fine?
If the above version doesnt work then, could you please verify if the latest version of 14.2 with '2317' resolves my issue? So that I would try to get latest version.
Appreciate your help.
Thanks,Ahmed
I tried with version 14.2.20142.1028, it gives the expand arrow, but when I try to extract row island in client side to add chile rows, it is giving "undefined" for the parameter
grid.get_gridview().get_rows().get_row(index).get_rowIslands()[0] is undefined.
Could you please verify and let me know if the latest version of 14.2 with '2317' resolves above issue?
In version 14.2.20142.1028 the bug is not fixed. It's fixed in 2317.
The function escape replaces all occurrences of & < > html with their corresponding character: &, <, >
Here is the implementation - str.replace(/&/g, "&").replace(/</g, "<").replace(/>/g, ">")
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.
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!
In that case you should use get_value().
Stanimir Todorov
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.