Posted 21 September 2017, 10:39 am EST
Hi,
I am trying to add a new row on top in my Flexgrid on a button click. I am able to achieve, but having few problems like
-
Whenever I click on other row without finish my editing and without clicking on save, the data is automatically sent to the last row. I don’t want that happen and I want the data to be saved and sent to last row only upon clicking save.
-
Once my data is saved, I don’t want a plain row to be appearing on the top. A new row should be added only if I click on Add once again.
-
My whole grid should be ReadOnly, but I am making it false to add a new row, but I want the other rows to be non-editable, only the newly added row which is not yet saved should be editable.
Kindly can someone help me out with this. It will be more helpful if Angular 2 sample code is provided with this regard.
Thanks,
Venkat.
