2 Data Grid questions
Posted: Mon Apr 18, 2011 4:07 am
I have 2 questions about data grids. Any help would be appreciated!
1. Is it possible for a data grid table to word wrap? I'm building a bunch of tables and the column names are sometimes long. It would be great for the column headers to word wrap and grow taller automatically. Any ideas?
2. Is there a function to determine the best width for a data grid table column? In Java there's a FontMetrics object that can tell you how many pixels wide a string will be. I'd like to find a function like this in LiveCode to determine how to set column widths.
Thanks so much,
Ritch
1. Is it possible for a data grid table to word wrap? I'm building a bunch of tables and the column names are sometimes long. It would be great for the column headers to word wrap and grow taller automatically. Any ideas?
2. Is there a function to determine the best width for a data grid table column? In Java there's a FontMetrics object that can tell you how many pixels wide a string will be. I'd like to find a function like this in LiveCode to determine how to set column widths.
Thanks so much,
Ritch