Our blazing fast Grid component built with pure JavaScript


Post by abisht »

Hi,

I want to hide a column based on the value that will be fetched from the DB. Could you please help me with this?

Thanks in advance.


Post by fabio.mazza »

Hello,
you can set hidden : true property.
Something like:

	if (value === ...) {
		grid.columns.get('name').hidden = true;
	}

Here the documentation for more info: https://bryntum.com/products/grid/docs/api/Grid/column/Column#property-hidden

Best regards,
Fabio


Post Reply