Skip to main content
List Manager logo
List Manager Forum

Row ID as CSS Class

User Joomill

at first: Thanks for this component!

I would like to add the row ID to the tablerow CSS.

I found: trdato=LMJQ('',{'class':'lm_trwhite'}); in the .js file.

Can you tell me how to add the row ID ?

Moonsoft support

Hi,
do you mean the internal unique rowId (different for each one?). At that point of the code you have it at

elem.idrecord, so something like

{'class':'lm_trwhite idrow'+elem.idrecord}


will create
class="lm_trwhite idrow1"

class="lm_trwhite idrow3"

...

unique classes for each row, not sure if this is what you need to achieve.


Thanks,regards

User Joomill

Thanks!

...
List Manager

Build different lists for your site

Buy now!
...
Support/development 40 hours

With the peace of mind of having a professional team at your service (20% discount)

Buy now!