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
435
Column headerText
posted

Can we change the column headerText at runtime?

Thanks

Parents
  • 2735
    Suggested Answer
    posted

    Hi,

    Yes, you can. 

    var headerTexts = $('#grid1').igGrid("headersTable").find("span");

    // Select first element from headerTexts and change to desired value (count from 1)

    $(headerTexts[1]).html("ID");

    Regards,

    Stanimir Todorov

Reply Children