> if (rowInfo.row % 2 == 0) {
> if (this._lastColor == this._colors.bgcolEven)
> {
> rowStyle.push(this._colors.bgcolOdd);
>
> this._lastColor = this._colors.bgcolOdd;
> }
> else
>
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();
> 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
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
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
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