Modifying the Grid widget

Archived from the Xataface Users forum.

cantlep — Sun Oct 03, 2010 2:32 pm

Hi All,

Has anyone had any experience modifying the default functions of the grid widget?

I’ve found that my JS dynamic menus no longer work when using “select” options within the grid widget. Also, setting something like this in table delegate class doesn’t work either

Code: Select all
function foo__default(){ return 'bar'; }

Neither does this in fields.ini

Code: Select all
Default = foo

All of these methods (including my Javascript dynamic menus) work fine when editing the table directly. But as soon as the grid widget is used, then none of those functions work.

Any ideas?

Cheers

Paul


dckc — Thu Sep 29, 2011 7:25 pm

Ouch. I’m stuck on this one too. Any clues?


ADobkin — Fri Sep 30, 2011 5:21 am

FYI, I’ve just submitted a report to the bug tracker for this issue:

http://bugs.weblite.ca/view.php?id=851

Note that there is also an open bug regarding the grid widget not applying validation:

http://bugs.weblite.ca/view.php?id=585

http://xataface.com/forum/viewtopic.php?t=4921

Alan