Re: Set images to the sorted column
Hi, You check on your view like this sortKey()=='Model.fieldName'){?> sortDir()=='asc'){?> image('up.jpg',array("javascript:void(0);",'style'=>'float:left;'))?> sortDir()=='desc'){?> image('down.jpg',array("javascript:void(0);",'style'=>'float:left;'))?> Enjoy: Amit Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
Set images to the sorted column
Hello everybody, I want to know how to set images only for the column specified in passedArgs['sort'] parameter. I have got the solution which set the images on all columns according to their respective direction but I want to set it according to the passedArgs['sort'] parameter. Thanks in advance Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en