paper-datatable
paper-datatable copied to clipboard
Allow adding rows
I couldn't find it and not sure if it's too hard but it would be great to allow adding new rows.
Regards, Luiz
Hi @lomori. You can easily to it by changing your dataSource
by adding a new item to it and then refresh a data in table.
Thanks David. Well, I was thinking more in the lines of having the C of CRUD to allow the user to add a new row. Yes, that can be accomplished outside the component itself by adding perhaps some paper-input elements and an ADD button, but could it also be part of the GRID component? Like if a certain property, e.g. ALLOW-CREATE, is set to true, the grid will be displayed with an extra empty row at the beginning or end and when the user types some values and clicks OK or +, that row is added to the data source. Just a suggestion. Regards,Luiz
From: Dmytro Hrytsenko <[email protected]>
To: David-Mulder/paper-datatable [email protected] Cc: Luiz Omori [email protected]; Mention [email protected] Sent: Friday, April 28, 2017 9:28 AM Subject: Re: [David-Mulder/paper-datatable] Allow adding rows (#132)
Hi @lomori. You can easily to it by changing your dataSource by adding a new item to it and then refresh a data in table.— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or mute the thread.