mardi 16 décembre 2014

Grid Locking functionality - want to restrict it only first column

Hello all,

I am having a grid where the first column should be locked. I have done that using the locked:true and draggable:false properties. Now if I drag any other column next to this first column or drag on top of or against the first column, that column sits next to this first column and is getting locked. Is there anyway that I can restrict the locking mechanism only to the first column and though all other columns are draggable, I don't want them to be locked. How can I do this?. Is there a way that I can restrict any other column from getting locked.


Here is my code.

columns: [

{

header: "Reg Num",

width: 85,

locked: true,

draggable:false

},

{

header: 'Email ID',

width: 100,

dataIndex: 'emailId',

sortable: true

},

{

header: "From",

width: 150,

dataIndex: 'fromAddr',

sortable: true

},

]


Thanks...






Grid Locking functionality - want to restrict it only first column

Aucun commentaire:

Enregistrer un commentaire