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

oj-table td element colspan

edited Oct 10, 2019 5:12PM in Visual Builder 2 comments

Summary

colspan attribute of td element in oj-table

Content

Hi,

I am using oj-table to display rows of data, with each row having a different layout. I am achieving this using <oj-bind-if> inside column template slot and referring to a value in the current row ($current.row.row_type ) to dynamically decide what to render in the row.

I need to merge columns if the row is of a certain type ($current.row.row_type) and I plan to use colspan attribute of td element. But I noticed that VBCS/Jet adds its own td element even if I wrap the contents of <oj-bind-if> within <td> </td>. I am able to achieve this using a Javascript function called from an action chain. But this approach is not very stable and I am looking for a VBCS declarative/CSS approach.

Tagged:

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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