Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
370
How to change the font size of child grid in hierarchical iggrid
posted

Hi Team,

I am using a hierarchical iggrid in my application . All of a sudden, font of the grid got changed (we didnt make any changes).I have added below line of code :

$(“#grid1”).addClass(“smallFont”);

where smallFont is a class and I have mentioned the desired font size . It worked for the main grid but not working for the child grids .

Child grids are still having bigger font size compare to the parent grid .

How to implement the same font size for child grids as well 

  • 17490
    Offline posted

    Hello Tapas,

    What I can suggest is adding a css class with the desired font size to the grid of your choice. For example:

    .custFontSize {

         font-size: 18pt;

    }

    $("#hierarchicalGrid").addClass("custFontSize");

    Attached you will find a small sample using the suggested approach.
    Please let me know if you need any further assistance with this matter.

    7024.igHGridChangeFontSize.zip