Insert button in UXGrid

3 replies. Last post: July 1, 2011 2:52 AM by Riendy Setiadi
Tags :
  • (None)
  • New Discussion
  • New Question
  • New Product Feedback

Hi

I know 2-method to insert new row in UXGrid:

1. by using Tab button on keyboard

2. change focus from new row to other element (list of header or any other element outside UXGrid)

That method can cause serious consequences  when Click on button which navigate to another page for example. Your new record will be added without your accept. I know we can use sandbox to isolate data but UXGrid don't know what were the intentions of the user (add or cancel operation).

 Base on your example Intersoft ClientUI MVVM Data Application (DevForce), try it:

- go to Product

- click on new row and write ProductName="abc" and Category="Beverages"

- next click on Home

- and back again to Product -what you see : new added row 



In some kind of situation we can use Enter key also, but under satisfied conditions:

last column shouldn't be combobox or checkbox.


It would be nice to see insert button in new row. (reject or cancel button too) and  properties to disable autoadded function decribed above.


Kind regards

Andrzej


All times are GMT -5. The time now is 5:46 PM.
Previous Next