Hi,
When I enable adding row, is there a way to put the add row at the bottom at the grid instead of on top? I want to put it in the footer instead of header
Thanks,
Jeffrey
Just want to follow up on this issue of adding a row to the bottom of the grid instead of on top. We also have same request from our users to have new rows added at bottom. Has there been any resolutions to this question?
Appreciate any help, thanks!
Shien
Thanks Mike.
Hello Jeffery,
Thank you for the update and glad to hear this resolves this issue for you. I have created the feature request for you the id is PI12080078.
Please let me know if you have any questions concerning this matter.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
Thanks for the explanation. That helps.
Hi Jeffrey,Although it's possible with some javaScript trickery (appendChild), it's neither safe, nor easy.Why you may ask?Well, the Add Row is a part of the igGrid's <THEAD>, so if the grid is re-rendered for some reason, the Add Row will be added to that <THEAD>, no matter where you placed it using appendChild for example. Also, as a member of <THEAD>, there are certain calculations (about height for example) and event hooks that rely on the Add Row being inside the <THEAD>, so placing it somewhere else in the DOM may result in erratic behavior.The safest route I can recommend to you at this moment is to submit a new feature request about a new option that will allow the Add Row to be rendered below the data records instead of only above them.Hope this helps,Borislav