Discussions

Expand all | Collapse all

IOL to change embedded table font size on Forms

  • 1.  IOL to change embedded table font size on Forms

    Posted 12-18-2020 16:35

    I've managed to get the IOL technique up and running. Could someone guide me advise/or paid on how can I increase the FONT size of my embedded table. 



    ------------------------------
    Prashant Maheshwari
    ------------------------------


  • 2.  RE: IOL to change embedded table font size on Forms

    Posted 12-19-2020 13:01

    Here's one way to do it:

    Create a code page (pageName.js)  with this code: $('.searchResults td').css("font-size", "14px");

    Change the font size to the ideal size for your reports. Using .searchResults (the class of all reports, embedded or full) is best if you want to apply it to multiple tables. Otherwise, find the table ID of the specific table in the inspector.

    Then reference the page in a rich text field using the iol technique: [iol] & "pageName.js" & [/iol]

    Add that field to the reports you want to apply the code to.



    ------------------------------
    A Brown
    ------------------------------



  • 3.  RE: IOL to change embedded table font size on Forms

    Posted 12-19-2020 15:01

    Hi A Brown,

    Thanks for the reply. I've created code & css page as you advised. I still see no changes.
    The IOL technique is perfect as I'm able to see other changes. 



    ------------------------------
    Prashant Maheshwari
    ------------------------------



  • 4.  RE: IOL to change embedded table font size on Forms

    Posted 12-20-2020 05:44

    It's possible that you're using the wrong table ID- you might want to verify that in the inspector. Did you add the iol field to the tables?



    ------------------------------
    A Brown
    ------------------------------



  • 5.  RE: IOL to change embedded table font size on Forms

    Posted 12-23-2020 14:12

    Yes I did add the field to the table . i will try to verify the id and report back here. 



    ------------------------------
    Prashant Maheshwari
    ------------------------------



  • 6.  RE: IOL to change embedded table font size on Forms

    Posted 12-19-2020 15:10

    The IOL technique is not a supported function and I would caution you against relying on this. Quick Base makes very regular updates to their UI and you never know how these changes will impact this function - or other JS functions, for that matter.



    ------------------------------
    Blake Harrison
    bharrison@datablender.io
    DataBlender - Quick Base Solution Provider
    Atlanta GA
    404.800.1702 / http://datablender.io/
    ------------------------------