Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 9 of 9

Thread: Grid checkbox

  1. #1
    Join Date
    May 2005
    Posts
    1,115

    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.
    (Based on a true story.)

  2. #2
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    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 :: Familiar people here

    My AMS Plugins:

  3. #3
    Join Date
    Jan 2007
    Posts
    155

    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)

  4. #4
    Join Date
    Jul 2002
    Location
    Just South of Reality
    Posts
    778
    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 at 01:31 PM.

  5. #5
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    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 :: Familiar people here

    My AMS Plugins:

  6. #6
    Join Date
    May 2005
    Posts
    1,115
    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.
    (Based on a true story.)

  7. #7
    Join Date
    Jan 2007
    Posts
    155
    ..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

  8. #8
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Quote 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

  9. #9
    Join Date
    May 2005
    Posts
    1,115
    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....
    Never know what life is gonna throw at you.
    (Based on a true story.)

Similar Threads

  1. Grid Problems
    By Solmos in forum AutoPlay Media Studio 7.5
    Replies: 2
    Last Post: 03-17-2008, 09:31 AM
  2. Uso de CheckBox
    By luffymk in forum AutoPlay Media Studio 7.5
    Replies: 0
    Last Post: 11-30-2007, 06:52 AM
  3. How can I control feature installation using a checkbox?
    By Brett in forum MSI Factory 2.0 FAQ
    Replies: 0
    Last Post: 10-29-2007, 02:43 PM
  4. Prob with checkbox
    By hyponeros in forum Setup Factory 7.0
    Replies: 2
    Last Post: 04-28-2005, 10:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts