AnsweredAssumed Answered

Share's datatable property type

Question asked by msvoren on Feb 16, 2011
Latest reply on Oct 21, 2013 by isaacrojas
Hi everyone!

I was playing around the other day with Share form component and controls which display properties. Realized that using custom control to display property gives me unlimited power on how to display things. So, this is something I came up with - datatable property type.

What this does is - takes the value of textfield, which is stored JSON string, and displays it as datatable.  Text field is hidden at the time. Modifying datatable values updates JSON string in textfield.

You can configure every text field to display as datatable just by attaching this control to that textfield inside share-config-custom.xml and configuring datatable columns in config parameter.

Please, take a look if you're interested,
waiting for your comments and suggestions!

You can find this project on Google code:
http://code.google.com/p/alfresco-share-datatable-property-type

together with documentation and screenshots.

View mode:
[img]http://alfresco-share-datatable-property-type.googlecode.com/files/dtp-view.png[/img]


Edit mode:
[img]http://alfresco-share-datatable-property-type.googlecode.com/files/dtp-edit.png[/img]

Outcomes