[ckan-dev] recline UX

Rufus Pollock rufus.pollock at okfn.org
Mon Jul 2 07:04:50 UTC 2012


On 29 June 2012 16:17, Haq, Salman <Salman.Haq at neustar.biz> wrote:
>
> On 6/28/12 5:30 PM, "Rufus Pollock" <rufus.pollock at okfn.org> wrote:
>
>>> Not having the full background about this discussion, I just want to add
>>> that I hope the new changes to the Recline UI that uses SlickGrid will
>>> allow extensive customization of the grid cells.
>>
>>It supports complete customization via the normal Field renderer method,
>>see:
>>
>>https://github.com/okfn/recline/blob/master/src/view.slickgrid.js#L77
>>
>>And Field docs:
>>
>>http://reclinejs.com/docs/models.html#field
>>
>>> In my use case, the data is an arbitrary JSON document, not necessarily
>>> from a CSV. So individual fields/columns may need to be rendered
>>> differently. Some may not be editable, others might use an autocomplete
>>> text input, etc.
>>
>>The question of editability etc is somewhat separate, atm the
>>slickgrid setup does not allow editability but re-adding that should
>>be very straightforward.
>
> Does 're-adding' imply that editability became an unsupported feature at
> some point?

The point is that editability is supported in the "old" grid but not
yet in slickgrid but we plan to re-add this soon. You can still do
"transforms" which allow you to edit all documents at once ...

> I could always use SlickGrid directly but it would be nice if Recline
> supported it.

It will be back there soon (in the slickgrid based grid -- still there
in old-style grid).

Rufus




More information about the ckan-dev mailing list