Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
How to set some value into oj-table cell from javascript and css — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to set some value into oj-table cell from javascript and css

Received Response
10
Views
2
Comments
edited Jun 9, 2021 10:03AM in Visual Builder 2 comments

Summary

How to set some value into oj-table cell from javascript and css

Content

Hi All,

I have created an ADP table with 4 rows and 10 columns. have to set some static text on the specific oj-table cell based on some logic in JS.

For example, want to set "Hello" in row 3 and column 4.like that.

Could you please help with this usecase?

I have tried adding css - every other property in css is working but unable to set the dynamic value for any cell from css.

    .countTableRowORFG1 table tr:nth-child(4) td:nth-child(4){
    TextContent: "<b>Personal Info</b>";
    background: Green;

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!