Listview editable column

2 posts, 0 answers
  1. MaiK
    MaiK avatar
    25 posts
    Member since:
    Mar 2018

    Posted 19 Apr 2018 Link to this post


    I have being searching in documentation but I have not found anything about it. I need to make a ListView with one texteditable column.

    I have generated columns automatically but I need one of that columns editable by user when makes double click.

    How can I achieve that?


    Thank you and regards!

  2. Dimitar
    Dimitar avatar
    2983 posts

    Posted 20 Apr 2018 Link to this post

    Hello Mikel,

    You can use the ItemEditing event. Here is an example:
    private void RadListView1_ItemEditing(object sender, Telerik.WinControls.UI.ListViewItemEditingEventArgs e)
        if (e.ListViewElement.CurrentColumn.Name != "Name")
            e.Cancel = true;

    In addition, please make sure that the AllowEdit property is set to true.

    Should you have any other questions do not hesitate to ask.

    Progress Telerik
    Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Back to Top