Welcome to the Indigo Rose Software discussion forums! You will need to sign up for a forum account and login before you can post. Need help? View the Forum FAQ.
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
..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
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.
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