This is a migrated thread and some comments may be shown as answers.

Partly editable

1 Answer 81 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Christian
Top achievements
Rank 1
Christian asked on 29 Jan 2012, 12:09 AM
I am trying to make one column editable ONLY when creatting new, while another column must remain editable all the time.

I tried this:

model: {
    id: "name",
    fields: {
        name: { 
            editable: {
                 create: true,
                 update: false
             },
             nullable: false
        },
        ttl: {
            editable: {
                 create: true,
                 update: true
            },
            type: "number",
            defaultValue: 7,
            validation: {
                required: true,
                min: 1
            }
        }
    }
}

Along with a destroy column and this:

editable: {
                       destroy: true,
                       confirmation: "Are you sure you want to remove the application? \n\nRemember to press Save, when finished."
                   },

Is it possible - perhaps via some hacking?

1 Answer, 1 is accepted

Sort by
0
Accepted
Rosen
Telerik team
answered on 30 Jan 2012, 01:08 PM
Hello Christian,

I'm afraid that this is currently not possible.

Regards,
Rosen
the Telerik team
Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Tags
Grid
Asked by
Christian
Top achievements
Rank 1
Answers by
Rosen
Telerik team
Share this question
or