Active
Project:
Data
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
19 Jul 2009 at 14:12 UTC
Updated:
16 Feb 2012 at 15:36 UTC
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
Comment #1
catorghans commentedIs 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.
Comment #2
alex_b commentedThere 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.
Comment #3
cosomo commentedSomething 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?
Comment #4
alex_b commented#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.
Comment #5
wizonesolutions@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.
Comment #6
alexmc commentedHas anyone actually done as alex_b suggests : Create a custom module? If so does anyone want to share it?
Comment #7
joachim commentedJust mentioning in passing that this is already doable on the 7.x branch.