Sorry, I didn’t understand. In which part of my code I have to make this change?
var listSource = [{ label: 'SM', value: 'SolicitacaoMonitoramentoId', checked: true }, { label: 'Status', value: 'Status', checked: true }, { label: 'Origem', value: 'Origem', checked: true }, { label: 'Placa', value: 'Placa', checked: true }, { label: 'Previsão de Início', value: 'PrevisaoInicio', checked: true }, { label: 'Início da Viagem', value: 'DataIniciado', checked: true }, { label: 'Previsão de Término', value: 'PrevisaoTermino', checked: true }]; $("#jqxlistbox").jqxListBox({ source: listSource, width: '450px', height: '100px', checkboxes: true }); $("#jqxlistbox").on('checkChange', function (event) { if (event.args.checked) { $("#gridViagens").jqxGrid('showcolumn', event.args.value); } else { $("#gridViagens").jqxGrid('hidecolumn', event.args.value); } });