ryansuitposungkono / openjs-grid

Automatically exported from code.google.com/p/openjs-grid
0 stars 0 forks source link

Feature Request: Limit ADDs #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It would be great to limit a user's ability to add new rows. In fact, I'd 
recommend pulling the limiting number from a user table, thus allowing 
different users to be able to add different amounts.

ie. Level 1 users can add up to 5 entries, Level 2 can have up to 10. 

Original issue reported on code.google.com by memoryen...@gmail.com on 2 Jun 2011 at 11:36

GoogleCodeExporter commented 9 years ago
This seems like a very specific thing.  Can you provide a couple examples where 
others might use this?

Original comment by Seancla...@gmail.com on 5 Jul 2011 at 5:04

GoogleCodeExporter commented 9 years ago
Just use the callbacks and check whether the user can add, if so do nothing, 
else delete the row in the database.

http://square-bracket.com/openjs#customCallback

Original comment by trentro...@gmail.com on 10 Jul 2011 at 8:28

GoogleCodeExporter commented 9 years ago

Original comment by Seancla...@gmail.com on 20 Jul 2011 at 3:17