I use tables a lot and I found this method useful in my applications. 
When I need to update concrete row.

I extend qx.ui.table.Model.Simple with method that allows me to update 
row in table model easily.

Maybe qooxdoo team can build it in by default. I guess many developers 
would find it useful.

        setRowDataAsMap: function (rowIndex, mapArr)
        {
            var rowArray = this._mapArray2RowArr([mapArr])[0];
            for(var i = 0; i < rowArray.length; i++)
                if (rowArray[i] != undefined)
                    this.setValue(i, rowIndex, rowArray[i]);
        }


asaris

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to