zfdatagrid : how to set the relative order of columns?
Posted
by
user522350
on Stack Overflow
See other posts from Stack Overflow
or by user522350
Published on 2010-11-28T12:31:01Z
Indexed on
2010/12/29
7:53 UTC
Read the original article
Hit count: 242
To those of you who are familiar with zfdatagrid for the Zend framework:
I got a recordset by a JOIN query, say from tables s and t, now I want to set the order in which the columns appear in the deployed table.
For example,
5th column of table t to appear at the leftmost side, then 3rd column of table s, then 2nd column of table t, then 4th column of table s.
How do I do this? Whatever I tried, it always shows first the columns of the left table of the JOIN, then the columns of the right table of the JOIN.
I only know how to tell it which columns to show, but not their order.
Thanks!
© Stack Overflow or respective owner