kamil.schvarcz
11 Dec 2009, 2:58 AM
Hi all,
I can explain one problem with CheckColumn implementation in gridpanel. In my application I need to have grid with cca 30-40 checkboxes in 10-20 rows. I need it for editor m:n tables relationships. Bug is when I edit column with ID >19. OnClick Event chcek two columns - first and checked.
Bug is in condition t.className.indexOf('x-grid3-cc-'+this.id) != -1, because when you edit column with ID 20 this return true when ID is 2 too.
Solution is change condition to t.className == 'x-grid3-check-col x-grid3-cc-'+this.id.
Best.
Kamil
I can explain one problem with CheckColumn implementation in gridpanel. In my application I need to have grid with cca 30-40 checkboxes in 10-20 rows. I need it for editor m:n tables relationships. Bug is when I edit column with ID >19. OnClick Event chcek two columns - first and checked.
Bug is in condition t.className.indexOf('x-grid3-cc-'+this.id) != -1, because when you edit column with ID 20 this return true when ID is 2 too.
Solution is change condition to t.className == 'x-grid3-check-col x-grid3-cc-'+this.id.
Best.
Kamil