Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Customising the CMS /

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Many Many with custom additional fields


Go to End


4 Posts   2535 Views

Avatar
Terminator4

Community Member, 81 Posts

12 January 2009 at 11:03pm

Hi,
I would like to know if it is possible to create a ManyManyComplexTable and have some additional columns on it that would not be text but rather drop downs or text boxes? Is there any way to do this and get it to save?

Avatar
SilverRay

Community Member, 167 Posts

13 January 2009 at 12:38am

Edited: 13/01/2009 12:39am

Sure, you can use other form fields as well, here's some:

http://doc.silverstripe.com/doku.php?id=form-field-types

Or now that I read your post better: you mean actual drop downs in a table row?

Avatar
Terminator4

Community Member, 81 Posts

13 January 2009 at 1:03am

No I mean something more like a partial datagrid inline editor which would use ajax such as:

- http://www.zapatec.com/website/ajax/zpgrid/doc/demo.html#editable.html
- http://dhtmlx.com/docs/products/dhtmlxGrid/index.shtml
- http://www.phpgrid.com/grid/examples/?example_id=16
- http://demos.telerik.com

Would also be nice if images could be shown in the datagrid... not sure if that is possible since I have not tried.

Avatar
Carbon Crayon

Community Member, 598 Posts

13 January 2009 at 2:41am

That would be really nice :) No idea how to do it though!