We should add simple views-based CRUD operations on data tables. I haven't fully thought about this yet, but right now in my mind this would comprise two elements:

1) An edit form for a single row of a table generated based on schema information. A view handler for an edit button that we will embed in data_ui default views.
2) A create form for a single row of a table generated based on schema information. We should embed the create link on the top of a data_ui default view.

I'm also wondering what it would take to add inline editing.

Comments

catorghans’s picture

Version: » 6.x-1.0-alpha8

Is there any news about this or maybe more thoughts how it could/should be build?

I do need it in my new project and might be able to help with funding or time.
I am unfamiliar with the views api but could make a start with create/edit form based on schema information and forms api.

alex_b’s picture

There is no spec for this work yet. This will definitely require some research and it is not 100 % clear whether the views-based approach is viable. If you need a solution for your site build, I'd suggest to go ahead with a custom module. You could share it later here on this thread.

cosomo’s picture

Something new on this topic? With importing e.g. CSV-files i'm really happy with data/feeds. But now I saw, that there is no way to edit rows of the tables...that's not very good :-( Is there a workaround?

alex_b’s picture

Title: CRUD for DataTable data » CRUD UI for DataTable data

#3 ... no established workaround, no. If your goal is to get something limited up and running fast, you could go for a light custom module.

wizonesolutions’s picture

@alex_b: I'm also interested in this. I am probably just going to make a simple form with a few fields and do it that way though since it doesn't seem anything better exists yet.

alexmc’s picture

Has anyone actually done as alex_b suggests : Create a custom module? If so does anyone want to share it?

joachim’s picture

Version: 6.x-1.0-alpha8 » 6.x-1.x-dev
Category: task » feature

Just mentioning in passing that this is already doable on the 7.x branch.