Layout in Record-List Dashlets

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SebastianZ
    Member
    • Apr 2017
    • 39

    Layout in Record-List Dashlets

    Hi,

    is there a way to change the layout of a record-list dashlet to a table Style, so that columns had the same width?

    greets
  • yuri
    Member
    • Mar 2014
    • 8477

    #2
    Hi,
    You can use Report dashlet. It's displayed as a table.
    If you find EspoCRM good, we would greatly appreciate if you could give the project a star on GitHub. We believe our work truly deserves more recognition. Thanks.

    Comment

    • SebastianZ
      Member
      • Apr 2017
      • 39

      #3
      Hi, thx for reply. This what also my first try, but the problem is, that I what to use the dashlet in a portal and reports shown all data to the user. So I began to create my custom daslet...

      Comment

      • SebastianZ
        Member
        • Apr 2017
        • 39

        #4
        Hi Yurikuzn,

        any hint for me, report dashlet cannot be used because of the permissions the the data, because I want to use it in an portal and the portal user should only see the data belongs to him.
        Last edited by SebastianZ; 06-04-2017, 12:02 PM.

        Comment

        • tanya
          Senior Member
          • Jun 2014
          • 4308

          #5
          Hello

          open client/src/views/dashlets/abstract/record-list.js
          your dashlet view has to extend this file, but set
          listView: 'views/record/list',
          layoutType: 'list',
          rowActionsView: null,
          (or set own values)

          create layout custom/Espo/Custom/Resources/layouts/<YourEntity>/listDashlet.json
          Last edited by tanya; 06-07-2017, 08:32 AM.

          Comment

          Working...