Creating pretty and functional tables in Dashboard 2.0

แชร์
ฝัง
  • เผยแพร่เมื่อ 20 ธ.ค. 2024

ความคิดเห็น • 13

  • @VladoM
    @VladoM 10 หลายเดือนก่อน

    Another perfect and helpful tutorial, Csongor. Thanks

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      Glad you liked it!

  • @MrBrian9107
    @MrBrian9107 7 หลายเดือนก่อน

    thanks for share!!, can you show how edit any row value and push on payload?

  • @paulgul1
    @paulgul1 10 หลายเดือนก่อน +1

    How are the column widths set? I notice in the name column it goes to a second line sometimes so something must be restricting the column width. For reference, when I move the mouse over the headers they disappear so it's not just your settings - I don't know why, when I made a very simple table from a template the headers don't disappear

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      I did not look into the column width yet. I noticed for a lot of element that the background colors are incorrect and need to be overwritten with custom styleing. I will mention that in a future video if I have the solution.

  • @paulgul1
    @paulgul1 10 หลายเดือนก่อน

    Thanks for the informative video, just downloaded your example, should help me understand the basics

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      You are welcome!

  • @Joestar-o2s
    @Joestar-o2s 4 หลายเดือนก่อน

    I find that if I make any mistakes with the template, my dashboard freezes up and my nodered admin area also locks up.
    Very hard to debug.

    • @csongorvarga
      @csongorvarga  4 หลายเดือนก่อน

      @user-vp5uo6oq5b That is definitely not normal. Is there anything in the node red log to suggest why it lock up?

  • @mircopolo
    @mircopolo 9 หลายเดือนก่อน

    Is it possible to create a table that can be used on multiple browsers without affecting each other during sorting, filtering etc ?

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน

      I did not test this, but my understanding that the filters and sorting is happening on the client. Therefore each browser does it independetly.

    • @mircopolo
      @mircopolo 9 หลายเดือนก่อน

      Let's say the are 2 buttons "select all" and "select filtered" which are used to trigger sql query, then data is sent to a table. If 2 browsers display the same page, I click "select filtered" on browser 1 the same will appear on browser 2 even if last user action there was "select all" button

    • @csongorvarga
      @csongorvarga  9 หลายเดือนก่อน +1

      @@mircopolo I have a new dialog video coming out soon. In that one I will show and example how to check the client session ID to ensure message is only processed by the current session. The same technique could be used for the table as well. You bind the table items to a local variable and you only copy msg.payload into this variable if the socket.id is the same.