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
Hello jAndika,
Thank you for contacting Infragistics!We received your support request concerning moving the add new row to the bottom of the gird, and this case has been assigned to me. Infragistics is dedicated to helping you solve this issue. Our team and I have done an initial review of your case and it looks like this may be a new feature request I am looking into this and will get back to you by the end of the day tomorrow with more information or questions for you.
Sincerely,Mike P.Developer Support EngineerInfragistics, Inc.www.infragistics.com
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
Thanks for the explanation. That helps.
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.
Thanks Mike.