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.
Professional Software Development Tools
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.)
I think it is not possible, i would like that aswell...
I also would like a playlist type of Grid![]()
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)
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...
Last edited by holtgrewe; 07-09-2008 at 01:31 PM.
Nice example but it would be so much work to get it rightand with scrolling enabled it would really be a pain in the....
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.)
..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
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.)