CRND Web List Popover Widget

by
Odoo          
v 11.0 Third Party 25
Download for 11.0 series Deploy on Odoo.sh
You bought this module and need support ? Click here !
Technical name crnd_web_list_popover_widget
LicenseLGPL-3
Websitehttps://crnd.pro
Repositoryhttps://github.com/crnd-inc/crnd-web#11.0
Read description for v 12.0

CRND Web List Popover Widget

License: LGPL-3 CR&D GitHub


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:

  1. 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:

    ellipsis


    Editable:

    edit mode


  2. 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:

    ellipsis


    Editable:

    edit mode


  3. 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:

    ellipsis


    Editable:

    edit mode


Launch your own ITSM system in 60 seconds:

Create your own Bureaucrat ITSM database yodoo.systems

Maintainer

CR&D

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

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.