Hi all, have two question here:
1) Why i can set column with ->columns() one time? what if i for example add columns('column1','column2') and then by some one condition want to add column3 or by other condition add column4? (or what if i want to do this in different classes, in master class add common columns and child class add specific).
2) What if i want to show id column, and i have 20,for example,fields - then i need to write colums('id', ...others 19 fileds). Or are there other better solutions so i don't know about?
Just tell plz, mb i just don't know about like this capabilities. thanks in advance
About ->columns()
- Single Page
Posted 10 May 2014 - 01:04 AM
Posted 11 May 2014 - 06:56 AM
well the things are kool... what other thing u can do in this way is keep adding stuff to an array and then @the end add array to the ->columns. It works out the same way.
Posted 11 May 2014 - 10:58 AM
Hi! Yeah,that's what I did :)
Sadly that this is not possible out of the box...
Many thanks Amit Shah for the answer, have a nice day!
Posted 12 May 2014 - 13:12 PM
Happy to help.... most welcome pal....
&
Happy GCing :)