Author Topic: Keep checkbox column after refreshCM  (Read 1564 times)

luckduck

  • Pro Ultimate
  • Newbie
  • *
  • Posts: 46
    • View Profile
Keep checkbox column after refreshCM
« on: September 27, 2020, 06:08:02 am »
Hi Paramvir,

I used refreshCM to variably change the column, but the checkbox appears blank.
I want to know how to keep the checkbox column after refreshCM.


Below is the link of the jsfiddle:

https://jsfiddle.net/mswk2zex/

Thank you.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6313
    • View Profile
Re: Keep checkbox column after refreshCM
« Reply #1 on: September 28, 2020, 03:08:23 pm »
It seems to be an issue, checkbox columns are not getting initialized with refreshCM method.

It would be fixed in upcoming version.

For now as a workaround you may call grid._initTypeColumns() after refreshCM to initialize checkbox columns

https://jsfiddle.net/96fLkrno/