Jump to content


Stretch the width of the field

Stretch width field

  • Please log in to reply
5 replies to this topic

#1 DDrim

DDrim

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 08 October 2014 - 07:05 PM

Good afternoon. Prompt, there are two issues (use theme datatables): 
1 - why the search field occurs only on what is seen and what is hidden under the ellipsis search is not looking? 
2 - how to stretch a particular field, something to display the full contents of the field?

 



#2 DDrim

DDrim

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 08 October 2014 - 07:06 PM

In advance, thank you for your answers!



#3 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 09 October 2014 - 05:13 PM

Well to search for is what GC will understand the search is to be conducted in all the stuff that is visible.. not what is not visible. What is not visible.. how is the rows going to be displayed with that context??? So search is logical on that context.

 

As per your query on how to expand the field with ... well u need to use jquery / javascript to identify the exact row .. which u wana increase .. and u can just set the width of the 1st row (of course the column width i am saying bout) .. and thats it .. its all set the way u want.



#4 DDrim

DDrim

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 09 October 2014 - 06:33 PM

Thanks for the answer. 
Prompt, where there is a reduction of the text? 
How to make that instead of "..." - <br> substitute?


#5 Amit Shah

Amit Shah

    grocery CRUD Master

  • Advanced Member
  • PipPipPip
  • 1,192 posts
  • LocationMumbai, India

Posted 10 October 2014 - 01:37 AM

Well..

that is a feature written in grocery crud..

lookout for the function change_list_value

 

there - inside u will find the code which makes the call to function to trim the same.



#6 DDrim

DDrim

    Newbie

  • Members
  • Pip
  • 4 posts

Posted 10 October 2014 - 03:17 PM

Thank you!







Also tagged with one or more of these keywords: Stretch, width, field

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users