⚠ 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

Stretch the width of the field



DDrim

DDrim
  • profile picture
  • Member

Posted 08 October 2014 - 19: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?

 


DDrim

DDrim
  • profile picture
  • Member

Posted 08 October 2014 - 19:06 PM

In advance, thank you for your answers!


Amit Shah

Amit Shah
  • profile picture
  • Member

Posted 09 October 2014 - 17: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.


DDrim

DDrim
  • profile picture
  • Member

Posted 09 October 2014 - 18:33 PM

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

Amit Shah

Amit Shah
  • profile picture
  • Member

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.


DDrim

DDrim
  • profile picture
  • Member

Posted 10 October 2014 - 15:17 PM

Thank you!