Menu

How to add Button on Grid Row?

2007-12-13
2013-04-24
  • Nobody/Anonymous

    Hello Peoples!!

    How to add Button on Grid Row?
    Sorry, my english is bad.
    I am Brazilian.

    Tanks.

    Manoel

     
    • al0

      al0 - 2007-12-13

      Sorry, no way.
      You have to emulate GridBox with TableLayout.
      See ThinWire FAQ (http://www.thinwire.com/FAQ/FAQ#gridEditors).
      It speaks about editors, but the same is applcable to Buttons.

      Regards,
      Oleksandr

       
    • Mike Winiberg

      Mike Winiberg - 2007-12-13

      Indeed, you can place any TextComponent into such a construction - The only trick is connecting the listeners for RadioButtons etc. It doesn't suffer from the annoying habit (like DropDownGridbox) of assuming that the first row is selected either 8)

       
      • al0

        al0 - 2007-12-14

        Sorry, but which "such a construction" do you mean?

         
    • Mike Winiberg

      Mike Winiberg - 2007-12-14

      The TableLayout emulating a GridBox - the playground has quite a good demo of this. What isn't made clear in the example or the handbook is that you can place any textcomponent into a cell and use it - so for example I have one setup that uses rows that mix labels, textboxes, dropdowngridboxes and checkboxes - to allow the user to specify and select various travel options that are charged in different ways from one list.

       

Log in to post a comment.

MongoDB Logo MongoDB