Jump to content


change column size for datatables - grocery crud

grocery crud datatables

  • Please log in to reply
2 replies to this topic

#1 francoross

francoross

    Newbie

  • Members
  • Pip
  • 6 posts

Posted 05 March 2015 - 09: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 ?

 

 

 

 

 



#2 CharleSven

CharleSven

    Newbie

  • Members
  • Pip
  • 5 posts

Posted 24 March 2015 - 08:32 AM

This solves my problem with regards to table style including width. http://www.grocerycr...r-of-th-widths/



#3 aleifuu

aleifuu

    Newbie

  • Members
  • Pip
  • 7 posts

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 http://www.grocerycr...-of-th-widths/, but just couldn't grasp how to do it in GroceryCrud. It just talk

different way in CI, no ?







Also tagged with one or more of these keywords: grocery crud, datatables

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users