3.2.0

Support for more than 20 columns?

How can I add support for more than 20 columns? Right now, all columns after 20 are not displayed?

Thanks!
polytriks
January 7,
Grid doesn't have a limit for the number of columns. With the following code you should see 100 columns, for example:

// set number of rows/columns
obj.setRowCount(10);
obj.setColumnCount(100);

// provide cells and headers text
obj.setDataText(function(i, j){return i + "." + j});
obj.setColumnText(function(i){return i});

However it is possible that there is something related to your CSS and column z-index. I've set z-index for the first 20 columns to be from 99 to 80 (for some other purpose).
Alex (ActiveWidgets)
January 7,

This topic is archived.

See also:


Back to support forum