How to make template always visible when the grid is full of rows? I am using AllowAddNew.TemplateOnBottom, that's ok for me, but when the grid is full and the user add a new row then the template dissapers. I want the template to float while there is space in the grid but allways on bottom when there is no more space. Is there any easy way to do it? Thank you.
Does AllowAddNew.FixedAddRowOnBottom give you what yuo're after?
Thank you Vince, actually I was using FixedAddRowOnBottom but it makes the template to be fixed at bottom of the grid from the begining (when the grid is empty), I want the template to float at the beginning and when the grid is full then it should be at the bottom (of the grid), if the user delete some rows and there is enough space I want the template to float at the bottom again.
Ah, I believe see the distinction. What you've described sounds like you want the behavior of "FixedAddRowOnBottom" when the template add row wouldn't otherwise be visible, and the behavior of "TemplateOnBottom" when the template add row would normally be visible.
I don't myself know of a certain way to get this to work. The simplest solution I can think of is to dynamically change the value of the AllowAddNew property based on the rows visible in the grid. I'm not in a situation where I can test this to see if there are any pitfalls in implementing this, and if so how to get around them (or to find some other approach entirely).
Even if you can get this working, I suggest that you submit a feature request so that we might be able to add this as a built-in feature to some future release of the toolset.
Ok Vince, I will try to change it dinamically and submit the feature request. Thank you so much for your kindness.