Hi baskar, yes, your assumption is correct. Take a look at the source code of SearchableModel.js (trunk):
http://sourceforge.net/p/qooxdoo-contrib/code/HEAD/tree/trunk/qooxdoo-contrib/ComboTable/trunk/source/class/combotable/SearchableModel.js Within the method "addRows" you see that in line 76 it calls its super method (i.e. "qx.ui.table.model.Simple.addRows"): --- this.base(arguments, rowArr, startIndex, clearSorting); --- If you are unfamiliar with "this.base" check out this: http://manual.qooxdoo.org/current/pages/core/classes.html#pages-classes-polymorphism-overriding And when we have a look at this method, we see, that it requires an array of arrays as its first parameter: http://demo.qooxdoo.org/current/apiviewer/#qx.ui.table.model.Simple~addRows "Parameters: rowArr An array containing an array for each row. Each row-array contains the values in that row in the order of the columns in this model." So in your code, before adding those rows to the model, ensure that all array elements: * have the same length * and the same structure (e.g. [number, string]) Regards Richard ------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite It's a free troubleshooting tool designed for production Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://p.sf.net/sfu/appdyn_d2d_ap2 _______________________________________________ qooxdoo-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
