We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
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

adding dynamic css class for oj-table issue

Accepted answer
9
Views
1
Comments
edited Jun 14, 2021 5:20PM in Visual Builder 1 comment

Summary

adding dynamic css class for oj-table issue

Content

Hi All,

I have one oj-table and added one variable in the class property of table and added some default value to the variable so on page load the oj-table is loading fine.

On search button click modifying the value of the css variable in JS and assigning the result to the css variable.

This is working perfectly fine and as expected in a new poc application, but when I implement the same logic in my actual application the set of css variable is not working properly.

Add css classes in webapp/html (same as poc app), created variable  and oj-table as in poc app but after clicking on search the same logic and the same classes are working fine in poc app but the same code is not working in main app.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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