Hi,
Is there a way to add a row to igHierarchicalGrid, that will be like a summary row for the parent data only.I have all data for this row, so this row doesn't have to be a real summary row that does the calculations, but can be just a row without a child, that I can set special design for it.I cant seem to find any event that I can catch and cancel the empty child that is generated, and format the row as I need to.
Thanks in advance
Hello amos_silberman,
You may create your custom row using jquery insertAfter: http://api.jquery.com/insertafter/ or append: http://api.jquery.com/append/, or appendTo: http://api.jquery.com/appendTo/ methods and add the row directly to the last one in the grid. Here is an example for your reference: http://stackoverflow.com/questions/20270718/how-to-append-html-to-table-after-tr-with-id-using-jquery
If you need help please let me know.
Regards,
Tsanna
Thanks for the answer.
How do I create a custom row in the grid. I could not find any sample..
Thanks
To be sure that the whole grid widget is rendered including headers, footers etc. you may attach to rendered event: https://www.igniteui.com/help/api/2016.2/ui.iggrid#events:rendered and create your custom row in it. Another possible event for this is also footerRendered: https://www.igniteui.com/help/api/2016.2/ui.iggrid#events:footerRendered
Please let me know if you have further questions.