-
Notifications
You must be signed in to change notification settings - Fork 427
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When will the add a row and delete a row functionality be implemented #544
Comments
hello @jbp17 currently, after the |
Thank you! |
@jbp17 We implemented them ourselves in the grid, using column formatter to conditionally display an edit field, etc. Works nicely. |
@waynebrantley can you show how you added a delete and add button to add/delete rows? |
Here is an example delete button. This is the column definition for the delete column.
The handler for |
what is string and IMyColumnDefinition and row.databasePkey here. |
@waynebrantley Thank you for sharing your solution. What I actually mean to say is when will the functionality of updating the entire row be added. Right now, the user can click or double-click any cell and modify the content of it. It is a very nice and convenient feature. But it might cause accidentally change of the data very easily. Some end-user might not like that. They might prefer to an update button at the beginning or end of the row. When clicking on the button, the row changes to an update state. The user can update any cell in the same row. When he/she is satisfied with the change, it will click the Save button. The row will return to a state that is not editable. |
I was so excited to use this library then ran into the same issue: if it can't edit a row at once and insert and delete then it has become useless to me. I agree with @waynebrantley . |
@jbp17 Yes, we do the same thing - we have an edit button on the row, and we create a form outside the grid....which is great because rarely is it 'simple' enough to edit in the grid directly.. |
@waynebrantley I think your advice just saved my day. |
@waynebrantley and @AllenFang I have a problem when deleting the last element in a page. |
Credits to @waynebrantley . I simplified it for others who need it in Javascript and more verbose example. The example assumes, that your objects have a property called
|
I'm just getting started with using this package. Adding and deleting rows is definitely something I need. Has this been officially implemented? |
@peterkronenberg you can refer @mathiasklenk for deleting rows. |
I really like your grid. It looks nice and easy to use and customize. Nice job! But it is missing the functionalities of adding and deleting a row and I can't use it unless these functionality is available. What is your timeline for getting it implemented?
The text was updated successfully, but these errors were encountered: