Page 1 of 1

Add class on tableWindow

Posted: 19 June 2020, 18:18
by Ralchimist
Hi!

I would like to add a class on one td in tableWindow.
Someone knows how to do this?

Thx

Re: Add class on tableWindow

Posted: 19 June 2020, 19:03
by RicardoRix
dynamically with dojo.addClass();

permanently with class="myClass"

Re: Add class on tableWindow

Posted: 27 August 2020, 03:48
by Nisterius
I wonder this as well. I can't find anything in the documentation about how to "hook" into any given cell except with `'type'=>"header"`

Re: Add class on tableWindow

Posted: 27 August 2020, 09:56
by RicardoRix
Can you give each td cell an id? say 'table_cell_1_2' and there is your hook.

Re: Add class on tableWindow

Posted: 27 August 2020, 10:06
by Tisaac
What about using css selector instead ? :nth-child, :nth-of-type, :first, :last,...