Jump to content


Ji Jia Jia

Member Since 09 Apr 2013
Offline Last Active Apr 15 2013 04:49 PM
-----

Posts I've Made

In Topic: ajax sorting is not natural sorting

10 April 2013 - 11:12 AM

Actually is like

http://13h.imghost.u...reenShot002.jpg

But i would like to be

http://13h.imghost.u...reenShot001.jpg

 

I think it's a matter of the natural sort, and i might tell that it's an relation field

 

 

$crud->display_as('tipo_q','Type')
        ->display_as('livello_q','Level')
        ->display_as('skin_q','Skin')
        ;

 

$crud->set_relation('livello_q','livelli','Level {livello_id} <span\nstyle="font-weight:bold;color:{livello_colore};">{livello_nome} {livello_num}</span>',null,'livello_id ASC');