jsgrid icon indicating copy to clipboard operation
jsgrid copied to clipboard

Move control column to first column

Open GauravKatariya opened this issue 5 years ago • 1 comments

Hi, I have too many columns in table. So for editing and deleting user has to scroll to right. so, I want to move the control column to first.

Please help asap

GauravKatariya avatar Jun 24 '20 05:06 GauravKatariya

just specify the type "control" as the first field : fields: [ { type: "control" }, { name: "Nome", type: "text", width: 150, validate: "required" }, { name: "Age", type: "number", width: 50 }, { name: "Address", type: "text", width: 200 }, { name: "Country", type: "select", items: countries, valueField: "Id", textField: "Name" }, { name: "Married", type: "checkbox", title: "Is Married", sorting: false } ] look at documentation for field

Ex0-Ghost avatar Oct 10 '20 07:10 Ex0-Ghost