Discuss anything related to web development but no technical support questions


Post by RedTeam »

Hi Bryntum.

Is possible to remove the first column of the panel?. See image
gantt_advanced.png
gantt_advanced.png (63.66 KiB) Viewed 2165 times

According to the code, that the second column (dragdropcolumn) can be removed.
gantt_code.png
gantt_code.png (33.88 KiB) Viewed 2165 times

How could I remove the first column?

Thanks for advance.

Post by pmiklashevich »

You can remove it by configuring selection model:
selModel : {
    type      : 'gantt_spreadsheet',
    rowSelect : false
},
That's Ext feature. Please check docs: https://docs.sencha.com/extjs/6.6.0/cla ... -rowSelect

Please keep in mind that we override rownumberer column with wbscolumn in Gnt.selection.SpreadsheetModel

Pavlo Miklashevych
Sr. Frontend Developer


Post by RedTeam »

thanks, this worked

I have an other question. When I select a row it shows me this way
imagen1.png
imagen1.png (46.18 KiB) Viewed 2130 times

I want that when it is selected I mark the whole row as the attached image
imagen2.png
imagen2.png (55.65 KiB) Viewed 2130 times

Is there any way to do it?

Post by mats »

Use
selModel : {
        type : 'spreadsheet'
    },
And you'll have a number column first which you can click to select row.

Post Reply