Jump to content
Bootstrap 3 ThemeSimply the best theme for Grocery CRUD!
View More »
No latest visitors to show
28 August 2013 - 01:32 PM
@Grocery CRUD Ninja.. Anyhow.. Thank you for ur timely reply Great job...!
28 August 2013 - 12:58 PM
Thank you Ninja!
Actually I already went through "#231Read page not showing relations" when i got issue in set relation. After apply all these changes in library file, it is only worked for
$crud->set_relation('subject_id','gec_subject','subject_name', null, 'subject_name ASC');
and not working for the following one....
$crud->field_type('status_flag','dropdown', array('1' => 'Active', '0' => 'Inactive'));
After edit the grocery curd library as per #231, are the relation working for this array case..?
"$crud->field_type('status_flag','dropdown', array('1' => 'Active', '0' => 'Inactive'));
Request : If so means could u share me the modified grocery curd library file....."
28 August 2013 - 04:22 AM
U could change the displaying order like "Amit shah said". Example
If ur table column : Student, Age, Gender and if u want to display like Gender, Student Name, Age means
you can change the order in grid list by
List page : $crud->columns('Gender',Student Name','Age');
If u want to do the same thing in add page means
Add Page : $crud->add_fields('Gender',Student Name','Age');
Edit Page : $crud->edit_fields('Gender',Student Name','Age');