[Cubicweb] Bug in table view

Aurélien Campéas aurelien.campeas at logilab.fr
Mon Jan 27 11:02:25 CET 2014


On 27/01/2014 09:41, Sylvain Thénault wrote:
> On 24 janvier 16:36, Lourdes Campos wrote:
>> Hi list,
> 
> Hi Lourdes,
>  
>> I'm Lourdes from Mexico.
>>
>> Please can you help me?. I think we have a bug in the 'table' view.
> 
> [snip]
> 
> This is probably not spelled right in the documentation, but what you describe
> sounds like a "normal" restriction of the table view. If you want pagination,
> facets or actions (actually, anything that allows reloading of the table through
> ajax), we shouldn't specify headers/cellvids/displaycols using arguments,
> because they will be lost on reloading.
> 
> You should then define your own custom class, with a specific __regid__ and
> specify those arguments as class attributes instead.

That is, a derived from RsetTableView (or such).

This restriction could be lifted in principle with
https://www.cubicweb.org/ticket/2105837

I plan to have a look at it asap.

Regards,
Aurélien.




More information about the Cubicweb mailing list