set Column id and cell class

android272
edited February 11, 2022 in Analytics #1
<p>Is there a way to set a columns id and or a cells class in birt?  I have already have my report class inporting a css file to use for its and it has all the generic things like: .report, .table-group-header-1, .table-header etc. Now I would like to add my own classes and id's.  Am I able to do something like: object.addClass(), object.addID()?</p>

Comments

  • <p>If you create a bookmark for an element, that becomes its ID on the client side. So, if you were to try to do modifications to your report from client side javascript, you'd access the element with document.getElementById("bookmark_in_birt");</p>
    <p> </p>
    <p>As for classes, I'm not sure there's a way to do this in the way you're probably meaning. You can create custom styles and apply them to elements through the UI or API, but when output to the client side, BIRT creates class names like, "class_1", "class_2", etc.</p>
    <p> </p>
    <p>Maybe I'm misunderstanding the question. Let me know.</p>
    Warning No formatter is installed for the format ipb