pnp / sp-dev-fx-controls-react

Reusable React controls for SPFx solutions
https://pnp.github.io/sp-dev-fx-controls-react/
MIT License
383 stars 380 forks source link

To enhance the list view component or new component of table with the option of editing the row in the table itself #992

Open kmrshubham0 opened 3 years ago

kmrshubham0 commented 3 years ago

Enhancement/New Component To have a functionality in listview to make the row editable. Or We can create a new component which will help to do so. Will have one table view where we will display the data from the source as well as we will be able to edit the row of a table within the table

Thanks!

ghost commented 3 years ago

Thank you for reporting this issue. We will be triaging your incoming issue as soon as possible.

russgove commented 3 years ago

So you’re suggesting a webpart that does shat quickedit does? Just in a webpart? I played with that way back ..

kmrshubham0 commented 3 years ago

Not a webpart. A component like how we have listview. So will have one component where we can accept the properties like datasource. Yes like quick edit...We have seen in many project this requirement is required where in the form itself they want some table with edit in the grid itself. Can I contribute on this

joelfmrodrigues commented 3 years ago

@kmrshubham0 would definitely be useful in some scenarios :) Would you be willing to implement and submit a PR?

russgove commented 3 years ago

Just daydreaming but… it could be really useful if we could use this component to edit data from different sources. for example if we could have it pull data from multiple lists (such as a site that has multiple lists of items, one per region) and update the item in the source list, or even move an item between the lists.

Even better: what if we could pass it the results of. a search query and users could edit their search results🤟

I did something like this in the react-multilist-grid sample webpart (waaaay back when). app no longer even builds, but the screenshots in the docs may give you a clearer idea what i’m talking about.

I’d be interested in helping out on this.

kmrshubham0 commented 3 years ago

@kmrshubham0 would definitely be useful in some scenarios :) Would you be willing to implement and submit a PR?

yes... i will implement and raise a PR

kmrshubham0 commented 3 years ago

Just daydreaming but… it could be really useful if we could use this component to edit data from different sources. for example if we could have it pull data from multiple lists (such as a site that has multiple lists of items, one per region) and update the item in the source list, or even move an item between the lists.

Even better: what if we could pass it the results of. a search query and users could edit their search results🤟

I did something like this in the react-multilist-grid sample webpart (waaaay back when). app no longer even builds, but the screenshots in the docs may give you a clearer idea what i’m talking about.

I’d be interested in helping out on this.

Yes it's a nice idea. I will go through the screenshots

michaelmaillot commented 1 year ago

Hi @kmrshubham0,

I know it's been a while but are you still interested to work on this one?