⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

change column size for datatables - grocery crud



francoross
  • profile picture
  • Member

Posted 05 March 2015 - 21:27 PM

Dear staff, I don't undestand 2 things:

 

1. How change column size in datatables theme including inside your grocery crud? I try to undestand the path and files with Firebug but I still dont undestand

 

RLIQ10U.png

 

 I want that Lastname column has 30px, Firstname has 150 px, Extension has 50px etc. How can I do?

 

2. Why long text names inside row is cutted in datatables including in your grocery crud?

 

For example Abenobashi - il quartiere commerciale della magia is cutted like Abenobashi - il quartiere commerciale... Why?

If I try to search from Firstname Filters typing magia - table give me a null result because for a strange reason it was cutted complete text

 

I like cutted text if text is too long (Abenobashi - il quartiere commerciale..)

but I don't like that I can't find specific text inside (is not possible find magia inside Abenobashi - il quartiere commerciale..)

 

Is possible find a word inside cutted text from filters?

 

3. How can I add resizable properties for datatables columns ?

 

 

 

 

 


CharleSven
  • profile picture
  • Member

Posted 24 March 2015 - 08:32 AM

This solves my problem with regards to table style including width. /topic/902-is-it-possible-alter-render-of-th-widths/


aleifuu
  • profile picture
  • Member

Posted 12 January 2018 - 07:59 AM

So, how do we do it ?

 

 

Really having trouble to do simple customization for simple stuff like adjusting width for certain column. Is there way in GroceryCrud's API to do this ? without 

going Rambo to underlying .css and or .js files on each datatables or flexigrid theme ?

 

Have read /topic/902-is-it-possible-alter-render-of-th-widths/, but just couldn't grasp how to do it in GroceryCrud. It just talk

different way in CI, no ?