Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 199 |
Technical Name |
crnd_web_list_popover_widget |
License | LGPL-3 |
Website | https://crnd.pro |
Versions | 12.0 13.0 14.0 15.0 |
Availability |
Odoo Online
Odoo.sh
On Premise
|
Lines of code | 199 |
Technical Name |
crnd_web_list_popover_widget |
License | LGPL-3 |
Website | https://crnd.pro |
Versions | 12.0 13.0 14.0 15.0 |
CRND Web List Popover Widget
Widget allows you to get text-overflow: ellipsis and popover for long Text, Char and HTML fields on the tree view. You can also set maximum width, number of text lines to show, popover position and fade animation on the tree view.
Widget has the following options:
- max_width - string, max-width for field view (default 300px),
- popover_max_width - string, max-width for popover (default 276px),
- animation - string, 'True' or 'False'. Specifies whether to add a CSS fade transition effect when opening and closing the popover (default 'False'),
- placement - string, specifies the popover position (default "auto"):
- "top"- Popover at top
- "bottom"- Popover at bottom
- "left"- Popover left
- "right"- Popover right
- "auto"- Lets the browser decide the position of the popover,
- line_clamp - string, number of multi strings for field view (default 1)
NOTE: line_clamp option is not work for IE, it will always be 1.
How it works:
-
For Text fields
Define a widget on the list view:<field name="test_description_text" string="Description" widget="dynamic_popover_text" options="{'max_width': '350px', 'line_clamp': '3'}"/>
Standard text:
Editable:
-
For Char fields
Define a widget on the list view:<field name="test_description_char" string="Description" widget="dynamic_popover_char" options="{'max_width': '350px', 'line_clamp': '3'}"/>
Standard text:
Editable:
-
For HTML fields
Define a widget on the list view:<field name="test_description_html" string="Description" widget="dynamic_popover_html" options="{'max_width': '350px', 'line_clamp': '3'}"/>
Standard text:
Editable:
Launch your own ITSM system in 60 seconds:
Create your own Bureaucrat ITSM database
Maintainer

This module is maintained by the Center of Research & Development company.
We can provide you further Odoo Support, Odoo implementation, Odoo customization, Odoo 3rd Party development and integration software, consulting services. Our main goal is to provide the best quality product for you.
Please log in to comment on this module