[Product-Developers] DataGridField columns defined by functions instead of static dictionaries or lists

Jonathan Riboux jonathan.riboux at quadra-informatique.fr
Mon Jul 6 11:23:26 UTC 2009


Mikko Ohtamaa a écrit :
> jriboux wrote:
>   
>> I added possibility to set DataGrifField and DataGridWidget columns 
>> parameters to a string containing a function name.
>> The function is then called on the instance to retreive the column ids 
>>
>> Do you think this feature should be merged to the trunk and integrated 
>> in the next release ?
>>
>>     
>
> This is indeed a very nice feature and I hope it lands to the trunk.
>
> There is no DGF release schedule as far as I know. We could have a minor
> release just for this feature.
>
> Did you update unit tests to have some, simple, tests for the feature? 
>
> Cheers,
> Mikko
>
>
>
>   
Yes I added unit tests and a sample field using functions in 
DataGridDemoType2.

Jonathan

-- 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090706/69c14ff3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailsignpic
Type: image/png
Size: 9479 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-product-developers/attachments/20090706/69c14ff3/attachment.png>


More information about the Product-Developers mailing list