I have found solution by using $('#grid1').igGrid("headersTable").find("span"), but I have some hidden columns (which I am moving also), so is there a way to change HeaderText by columnKey?
Hi Branko,
Thank you for posting in our forums! Unfortunately we do not have this functionality build in our grid. However you can change the text directly in the header cell itself. I prepared a sample page that demonstrates this approach. The basic idea is to use the column key which is used to create the TH element’s ID to find the span that holds the header text and change the text.
Please review it and let me know if it works for you.
Kind regards, Petko Zhekov Software Engineer
That's it, thank you for your quick response!