Our blazing fast Grid component built with pure JavaScript


Post by max@medinet.se »

Hi,

What is the simplest way to achieve that?


Post by mats »

You can always set a 'cls' field and hide them with basic CSS, probably your easiest fix.


Post by max@medinet.se »

Hi Mats,

Thank you for the suggestion. I tried it with no luck. Seems like the checkbox is just getting checked if I send an object with cls to set as a value for the checkbox column. The class that I sent is not added anywhere.

When I tried to use renderer on this column type, it does not get called at all.

I used the Column Types example and added this column:

{
  field: 'active',
  text: 'Aktiv',
  type:  'check',
  renderer: function(data) {
    console.log(data); // Not printed in console
  }
},

The checkbox column pops up, but nothing is displayed in the console.

Is it possible to use renderer on CheckColumn?


Post by mats »

Seems we dropped the ball here, sorry about that. Ticket opened and this should be fixed in the next release: https://github.com/bryntum/support/issues/2816


Post Reply