Different Order in “List” and “Edit” view
Archived from the Xataface Users forum.
meikel — Sat Jun 23, 2007 12:15 am
Hi there,
there’s the possibility to assign a defined order in which the table fields are shown in “List” and in “Edit” view via “fields.ini”
Is there a way to assign 1 field order for “List” view and a different field order for “Edit” view (i.e.: field1 -> pos1, field2 -> pos2 in “List”, but field2 -> pos1, field1 -> pos2 in “Edit”)?
TIA for answering
kind regards
meikel
shannah — Sat Jun 23, 2007 10:21 am
Hi Meikel,
There is no way to do this in the fields.ini file. However, you are able to override the way list view rows are rendered using the renderRow() and renderRowHeader() methods of your delegate class. See http://framework.weblite.ca/documentation/how-to/list_tab for details on how to do this.
-Steve
meikel — Sat Jun 23, 2007 1:56 pm
Hi Steve,
I hoped, there was an easier way for a lazy one like me )
Thanks a lot again for your work!
kindest regards
meikel
meikel — Sun Jun 24, 2007 9:36 am
Hi again, Steve
I tried the renderRow() and rederRowHeader() tip. Unfortunately, the links in the rows for the “Edit” are gone and I can’t sort by column anymore (no links either). Any ideas?
TIA for your answer
kind regards
meikel