Grid checkbox

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • bule
    Indigo Rose Customer
    • May 2005
    • 1116

    Grid checkbox

    Is there any way we could place a checkbox inside a cell of the grid object?
    This is really important for yes/no type of fields.
    Never know what life is gonna throw at you. ZubTech
  • Imagine Programming
    Indigo Rose Customer
    • Apr 2007
    • 4248

    #2
    I think it is not possible, i would like that aswell...

    I also would like a playlist type of Grid
    Bas Groothedde
    Imagine Programming :: Blog

    AMS8 Plugins
    IMXLH Compiler

    Comment

    • pakapaka
      Indigo Rose Customer
      • Jan 2007
      • 169

      #3
      Display Icon or Checkbox in Datagrid Cell

      I am very doubtful...I spents days trying to insert a simple icon into a Datagrid cell but did not succeed.

      If anyone in the forum can find a way to do this then send me a private message, I am willing to pay for this functionality.

      ...I am not referring to an html table, I need to use the Datagrid (which is populated from an Access table)

      Comment

      • holtgrewe
        Indigo Rose Customer
        • Jul 2002
        • 779

        #4
        This is not an ideal work-around, but you may be able to clean it up and make it work for you...

        This may be possible for icons / png images also...that I didn't test.

        Determining where to place the checkbox in relationship to the grid may be a bigger problem...
        Attached Files
        Last edited by holtgrewe; 07-09-2008, 01:31 PM.

        Comment

        • Imagine Programming
          Indigo Rose Customer
          • Apr 2007
          • 4248

          #5
          Nice example but it would be so much work to get it right and with scrolling enabled it would really be a pain in the....
          Bas Groothedde
          Imagine Programming :: Blog

          AMS8 Plugins
          IMXLH Compiler

          Comment

          • bule
            Indigo Rose Customer
            • May 2005
            • 1116

            #6
            Suggestion for the IndigoRose:

            Add some variable type checking to the Grid object:
            - if string is passed, handle the text as is now, sort column as text
            - if lua number is passed, align the cell right, sort by numeric value
            - if boolean type is passed, render a checkbox, sort by checked
            - if table of [text, data] pairs is passed, render a properly aligned combobox

            The first three ones are obvious. The fourth one would receive this kind of data:
            [['bule', '0'], ['has', '1'], ['some', 'great'], ['ideas', '666']]

            Any comments on this rather strait forward approach?
            Never know what life is gonna throw at you. ZubTech

            Comment

            • pakapaka
              Indigo Rose Customer
              • Jan 2007
              • 169

              #7
              ..yes the real problem is the scrolling. I have a table column with over 150 rows of data using 5-6 different icons. Many thanks for your efforts but it does not seem doable for large quantities of data

              Comment

              • Dermot
                Indigo Rose Customer
                • Apr 2004
                • 1791

                #8
                Originally posted by bule View Post
                Suggestion for the IndigoRose:

                Add some variable type checking to the Grid object:
                - if string is passed, handle the text as is now, sort column as text
                - if lua number is passed, align the cell right, sort by numeric value
                - if boolean type is passed, render a checkbox, sort by checked
                - if table of [text, data] pairs is passed, render a properly aligned combobox

                The first three ones are obvious. The fourth one would receive this kind of data:
                [['bule', '0'], ['has', '1'], ['some', 'great'], ['ideas', '666']]

                Any comments on this rather strait forward approach?
                That plus icon support would very very nice. I would also like to throw in cell merging and cell text wrapping.
                Dermot

                I am so out of here :yes

                Comment

                • bule
                  Indigo Rose Customer
                  • May 2005
                  • 1116

                  #9
                  Talkin about the Grid... is there any chance that IR at least adds an option for
                  no-border mode like the one on the input object (border, flat, none)? Please.... :o
                  Never know what life is gonna throw at you. ZubTech

                  Comment

                  Working...
                  X