Datagrid and new Summer Bundle table/grid widgets
Paul Dupuis
paul at researchware.com
Thu Aug 11 12:23:48 EDT 2022
To anyone with the Summer Bundle:
The Datagrid object has a practical limit on the number of columns that
I just reported as https://quality.livecode.com/show_bug.cgi?id=23875
(about 327 columns at a default column width of 100px due to the Group
objects 32767px width limit)
Do any of the table/grid widgets in the Summer Bundle allow going beyond
this limit? Could someone with a Summer Bundle please test the
table/grid widgets. I have included the script I populate the column
names and a first row of data in a Datagrid with below. I'd just like to
know whether any of the new table widgets can exceed thsi Datagrid
limit. Thank you to anyone who can spare the time to test in advance.
on mouseUp pMouseButton
local tColumnNames, tArray
ask "Number of columns?"
if it is empty then exit mouseUp
--
repeat with i=1 to it
set cursor to busy
put "Column"&&i into tColumnName
put tColumnName into line i of tColumnNames
put i into tArray[1][tColumnName]
end repeat
--
set cursor to watch
set the dgData of group "Table" to tArray -- replace this line and
the nest with code for the new widget
set the dgProp["columns"] of group "Table" to tColumnNames
beep 3
end mouseUp
More information about the use-livecode
mailing list