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 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?
Thanks,Ahmed
Hi Ahmed,
In version 14.2.20142.1028 the bug is not fixed. It's fixed in 2317.
Infragistics version 14.2.20142.2317 is working as expected. But could notice few discrepency. It is doing HTML encode on its own (ie) HTMLEncode is made true in default.
Is there any way to make HTMLEncode propery to false in the grid level instead of column level.
This is the way how to set up HTMLEncode propery.
Best Regards,
Thank you for your response.
I have few queries on this encoding part,
1)IG 12.2 does not do HTMLEncode in a default way. But IG14.2 does. Is it a bug or enhancement?
2)If I set HTMLEncode false in column level explicitly, will it impact my application performance?
3)Because of this encoding action in IG14.2, my application is breaking in many location.
4)How about this encode property effect on Bound and Unbound fields?
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.
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!
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.