Re: [qooxdoo-devel] problems when setting tableModel at runtime

2008-07-23 Thread Hugh Gibson
> if (rowInfo.row % 2 == 0) { > if (this._lastColor == this._colors.bgcolEven) > { > rowStyle.push(this._colors.bgcolOdd); > > this._lastColor = this._colors.bgcolOdd; > } > else >

Re: [qooxdoo-devel] problems when setting tableModel at runtime

2008-07-22 Thread kanugula
Hugh, thanks for your suggestion. I was successfull in implementing cellrenderer. The following code works great. No performance issues. CustomCellRenderer.js _getCellStyle : function(cellInfo) { var tableModel = cellInfo.table.getTableModel();

Re: [qooxdoo-devel] problems when setting tableModel at runtime

2008-07-21 Thread Hugh Gibson
> I was thinking about setting cellrenderer at runtime just after my > remote table is rendered. > > I need to compare the cell value with the previous row's cell > value. If there is a difference, I need to high light both of them > in red color. This should happen for all visible rows in the R

Re: [qooxdoo-devel] problems when setting tableModel at runtime

2008-07-18 Thread kanugula
I was thinking about setting cellrenderer at runtime just after my remote table is rendered. I need to compare the cell value with the previous row's cell value. If there is a difference, I need to high light both of them in red color. This should happen for all visible rows in the Remote Table

Re: [qooxdoo-devel] problems when setting tableModel at runtime

2008-03-14 Thread Derrell Lipman
On Fri, Mar 14, 2008 at 9:30 AM, Tobias Koller (GERMO GmbH) <[EMAIL PROTECTED]> wrote: > I have a problem when I set my tableModel and columnModels at runtime. Unfortunately, changing the column model is not supported. If you look at the documentation for the tableColumnModel property, it specifi

[qooxdoo-devel] problems when setting tableModel at runtime

2008-03-14 Thread Tobias Koller (GERMO GmbH)
Hi, I have a problem when I set my tableModel and columnModels at runtime. All "special" cellrenderer are not working (f.e. a Image-renderer just shows the real value instead of an image) . After I clicked into a cell the whole column is shown correctly again and everything works fine. D