HISE Logo Forum
    • Categories
    • Register
    • Login

    How to programmatically change table viewport component values?

    Scheduled Pinned Locked Moved Scripting
    tableviewportcomponentdefaultvalue
    8 Posts 5 Posters 187 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • d.healeyD
      d.healey
      last edited by

      How can I enable/disable a table cell button for example via scripting?
      Is it possible to set a default value for the button? Currently they're always on when created.

      Libre Wave - Freedom respecting instruments and effects
      My Patreon - HISE tutorials
      YouTube Channel - Public HISE tutorials

      clevername27C Dan KorneffD ustkU 3 Replies Last reply Reply Quote 1
      • clevername27C
        clevername27 @d.healey
        last edited by clevername27

        @d-healey If you don't know, I don't think anyone does…

        ChazroxC 1 Reply Last reply Reply Quote 1
        • Dan KorneffD
          Dan Korneff @d.healey
          last edited by

          @d-healey maybe you can fake it like this?:

          HiseSnippet 980.3ocsV0saaaCElzIJsQqqncnO.B8J2gh.67iiCJFpWbR175Rp2bZvtqfl7HaBKQ5IR0DusBzq1q0dE1s6sXuAaGJIaozjkjZfoKL7gmy247oCO7ipehlCFiNgP8Oc1TfPef2fYJ63tiYREo2AD5C8NlYrPRP9R6OaJyX.AgRW4abKPWeUR1ye+x8YQLEGJWhPNSK4v2Kik1xU624UxnniXB3TYbkn2tSOtV0UGoSQ9rhWCxTFeBaDbByEVMOx2xLiIzuziyZzJjObuvFvl6FJFt6PX6cf8DvdsZy2Ir8Ns2ZSXq1sHz0NTHs5jAVlELXR2WKlMXr9bUdANSZjCi.mQSx.rx4KS5NVFI5Ou4XHD5p8KaUqj2pdh2wRgbw5ksrGk4HnDQ0lFs1MQoleBThVgRqlSoG6MfmHmZK833ym40Sg6fgLbuoJUxikT6undc0XDJ6FwrIvQInwBD0a0nwyCved1K78w8GiM3crjfyjv4S0I1lAeUvbvi.aWc7TsBMp+zEQ7TDYIvWozC+uAk40Av2WphjJHHLUwsRsJPqxb5vknipymC54XZiRgm4+q9qunlaX.6Ytkqm67EU8wGyTi.Qcb02iU5FYhKQEkrKKJZHNQV+xLAyRENdh1BuVUOiM9u2O3icEFds9JxUDjbstcGTRtIf0UowCgjp8BWf3fwkm1V6tMswyaIUBTq5oj1WOEJrORGIbSQt+e0YSRQOEmRqUvPLTa1L5WTLiBh46HDovMjtXChj8RTJL7nNjONIOrHIChjBHIKA2yKaW4Z.+ldGvrL2IlBZgTcJjXktNB8.3cnFU94m08N.LSr5oY7tXVfPu+cl4Wrnve3G5LqjEmz4bovhhWdzemRHiA4nwVm02gVRKDabEm4a7E9gjTCpYZP+zZjJz3A256dY4+yetR4+vu0wXm41lWKKPRrTHhf9ZizMFUQC+OPo9oCj+BFpmWyMZfQpppmGytnZq0jFFJuHSaNTFEarHu5EiR1tl0aLPf.BYoQ1.yDLO344If3TcV7jqpdg5lZQZDydYwT20LENbjspBlSkRguDypdMzmfBaiaTg8tRwG60WZ4iudNV6Z3n6Xw+Cbr3doO26vvPfaKI3pdG8SK6kP2R4+QcpUpFcLC25wAAuSRiGf2eyAr5JEDYbC40bJB41Mb1tNv.PIxL9G7ovYSmMsvYy4NwgNdh9s7bI.2Me2OaEjSpruLXc7STP6fqb1m3FzkukyubptBvMWVfasr.2dYAtyxBr0xBb2kEX6aGn66j95TqNN+XCgbb+CyzpozCULbBLaZk7unaOxiI
          

          Dan Korneff - Producer / Mixer / Audio Nerd

          1 Reply Last reply Reply Quote 0
          • ChazroxC
            Chazrox @clevername27
            last edited by

            @clevername27 lol facts.

            1 Reply Last reply Reply Quote 1
            • ustkU
              ustk @d.healey
              last edited by ustk

              @d-healey Seeing your three last posts about viewport limitations, I think now is the time to summon the power of...

              CHILD PANELS!!!
              IMG_3970.gif

              Can't help pressing F5 in the forum...

              clevername27C 1 Reply Last reply Reply Quote 2
              • clevername27C
                clevername27 @ustk
                last edited by

                @ustk Yes! But…

                rucoy-highlander.gif

                1 Reply Last reply Reply Quote 2
                • d.healeyD
                  d.healey
                  last edited by d.healey

                  Bump bump @Christoph-Hart Any way to have the buttons off by default or change it via scripting?

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  d.healeyD 1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @d.healey
                    last edited by

                    @d-healey said in How to programmatically change table viewport component values?:

                    Any way to have the buttons off by default

                    This is possible when setting the table row data

                        local listData = [];
                    		
                        for (x in data)
                        {
                    	local obj = {
                    	    CheckButton: 0, // Here I can set the button state
                    	    Name: x.name
                            };
                    
                            listData.push(obj);
                        }
                    		
                        viewport.setTableRowData(listData);
                    

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post

                    18

                    Online

                    1.7k

                    Users

                    11.8k

                    Topics

                    103.2k

                    Posts