Hi All,
I got these error when trying to addRows to the searchable model of
ComboTable contrib.
014916 qx.io.remote.RequestQueue[142-0]: Request qx.io.remote.Request[141-0]
handler _oncompleted threw an error:
*TypeError: Array.prototype.splice called on null or undefined
qx.ui.table.model.Simple:593:30,
qx.core.Object:143:33,
combotable.SearchableModel:76:18*,
sumo.Application:753:37,
sumo.Application:1121:37,
qx.io.remote.Rpc:579:13,qx.io.remote.Rpc:770:42,
......
_Here is my source code:_
*var comboTblModel = new combotable.SearchableModel();
if(field.t_props.rowData != undefined){
comboTblModel.addRows(field.t_props.rowData, 0, true);
}
*
/field.t_props.rowData/ is a array from RPC result.
_field.t_props.rowData looks like this: (console.log output)_
[Array[2], Array[2], Array[2], Array[2], Array[2]]
*0: 0
1: 0*
2: Array[2]
3: Array[2]
4: Array[2]
5: Array[2]
6: Array[2]
length: 7
__proto__: Array[0]
In above log, please note index 0 and 1.
Is this thing makes problem?
How to fix this?
--
View this message in context:
http://qooxdoo.678.n2.nabble.com/Help-needed-for-ComboTable-Contrib-with-searchable-model-tp7583788.html
Sent from the qooxdoo mailing list archive at Nabble.com.------------------------------------------------------------------------------
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