Jump to content


Clone Kihiato

Member Since 16 Jul 2013
Offline Last Active Jul 23 2013 01:01 PM
-----

Posts I've Made

In Topic: custom model

22 July 2013 - 12:45 PM

Thank you davidoster

 

I did try your proposal and it worked. Had to make a few minor adjustments, added if clauses to allow for different joins ie in add or edit the countries are listed in full but in list mode, the country code are used.


In Topic: custom model

17 July 2013 - 02:07 PM

thanks heruprambadi,

 

the only problem with your suggestion is that i'm dealing with $crud->columns, im not sure how to insert "custom" data to a column.


In Topic: custom model

17 July 2013 - 02:02 PM

Thanks Amit,

 

How do I get my model working?

The example provided in the documentation over rides an existing method.


In Topic: custom model

17 July 2013 - 01:16 PM

Thanks Amit Shah,

 

While the solution does work, it will in the long run have a premium on system resources assuming i get to 1000 records those will be 1000 extra queries over and above any other query required on that particular interface.

 

isn't there another shorter way to get the same results?

 

Thanks


In Topic: custom model

17 July 2013 - 09:22 AM

thanks heruprambadi,

set_relation from my point of understanding creates a dropdown on the related field im not sure how it will apply in the

$crud->columns method, could you please elaborate