Is it possible to delete css properties by accessing html or dom class selector in javascript?

The first goal we want to achieve is for the calendar to not be obscured by other components.The calendar is obscured by the row component created behind it.

1. problem

problem.png

 2. attempt to solve

This removes the z-index from classes that apply to the entire component.

This has successfully confirmed that the calendar is not obscured by other components.

Presumably, this problem is an HTML z-index problem. Even if the parent component has a z-index of 1 and the child components have a number greater than 1, it is a problem limited by the parent component, and all components have a z-index property. As it is applied, it restricts dateField, a child component, from moving up to the top.

class.jpg

css.png

success.png

3. trial

So, I deleted the property on the class using JavaScript when the page was mounted. But it didn’t apply. Is it possible to delete the css property of a class like this through JavaScript in buildapp? Or is there a problem with my JavaScript code? If you have any other solutions or comments, please let me know.

logic.png

JavaScript.png

 

 

 

 

Scroll to Top