Page 1 of 1
Remove first column of pannel
Posted: Thu Jan 10, 2019 6:51 pm
by RedTeam
Hi Bryntum.
Is possible to remove the first column of the panel?. See image
- gantt_advanced.png (63.66 KiB) Viewed 2210 times
According to the code, that the second column (dragdropcolumn) can be removed.
- gantt_code.png (33.88 KiB) Viewed 2210 times
How could I remove the first column?
Thanks for advance.
Re: Remove first column of pannel
Posted: Thu Jan 10, 2019 7:07 pm
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
Re: Remove first column of pannel
Posted: Mon Jan 14, 2019 10:24 pm
by RedTeam
thanks, this worked
I have an other question. When I select a row it shows me this way
- imagen1.png (46.18 KiB) Viewed 2175 times
I want that when it is selected I mark the whole row as the attached image
- imagen2.png (55.65 KiB) Viewed 2175 times
Is there any way to do it?
Re: Remove first column of pannel
Posted: Mon Jan 14, 2019 10:37 pm
by mats
Use
selModel : {
type : 'spreadsheet'
},
And you'll have a number column first which you can click to select row.