Suggestion
- Single Page
Posted 10 December 2011 - 14:37 PM
I think
display_as function should accept 1 more parram , and based upon it should switch between displaying the name or showing an icon with tooltip
something like this
display_as("field_with_verry_long_name", "Field shorten name", FALSE);
FALSE - should show the set "Field shorten name"
TRUE - should display an icon with tooltip showing on mouseover "Field shorten name"
here is an image:
[attachment=2:Untitled-2.png]
Posted 10 December 2011 - 14:48 PM
I'm suggesting this because i'm using the CRUD with databases that have multiple relations and I have to display arount 20 - 30 fields at a time and the CRUD now shows them only on 1 row - so the display becomes verry long. I've noticed that the width of a field depends on the field name, so ...
I think
display_as function should accept 1 more parram , and based upon it should switch between displaying the name or showing an icon with tooltip
something like this
display_as("field_with_verry_long_name", "Field shorten name", FALSE);
FALSE - should show the set "Field shorten name"
TRUE - should display an icon with tooltip showing on mouseover "Field shorten name"
here is an image:
[attachment=2:Untitled-2.png]
[/quote]
This is a quite good idea. The good think is that the project is open-source so you can do whatever you like to the project. Perhaps you can have it as a plugin or something and suggested to the community at : http://www.grocerycr...coding-plugins/ .
When I say plugin I mean a patch to create for the last grocery CRUD version 1.1.4.
Tip: have you use unset_columns? it's a pretty awesome function that you can use it if you have really lot of fields at your list. You can see an example at: http://www.grocerycrud.com/crud/example/set_a_relation_1_n
Posted 12 December 2011 - 08:01 AM