Datagrid and new Summer Bundle table/grid widgets

2022-08-11 Thread Paul Dupuis via use-livecode

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

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Summer Bundle table/grid widgets....

2022-08-09 Thread Paul Dupuis via use-livecode
I am in need of a control to display a table of numbers. The top ROW are 
column labels (text, sometimes up to 255 characters). The left COLUMN is 
row labels (text, sometime up to 255 characters). I'd like a widget that:
1) Can display this with the top row (or headers) fixed so they remain 
visible when the data is scrolled
2) Can display this with the left column fixed to they remain visible 
when the data is scrolled
3) Provides built in abilities to sort the numbers in all the data of 
the grid/table, by any column, ascending or descending as the user desires.


I have already built this with a grouped field (for the fixed left 
column) and Datagrid (for the remained of the table).


Do any of the new widgets in the Summer Bundle do this inherently 
without me having to make a custom object (as I had to do with the field 
+ Datagrid)?



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode