multiple columns

3 posts, 0 answers
  1. Emilio
    Emilio avatar
    15 posts
    Member since:
    Mar 2012

    Posted 12 May 2012 Link to this post

    Hi,

    can't go through. Im using vb.net, how do i add items in multiple columns and make the 2nd column editable and the 1st one is not?
    viewtype is "ListView"



    dim itm as listviewdataitem

    itm = new listviewdataitem
    itm.text = "data in col1"
    radlistview1.items.add(itm)


    thanks,
  2. Emilio
    Emilio avatar
    15 posts
    Member since:
    Mar 2012

    Posted 14 May 2012 Link to this post

    got it, i need to use "details" as the viewtype, is it possible specify which cells are only editable?

    Thanks
  3. UI for WinForms is Visual Studio 2017 Ready
  4. Ivan Todorov
    Admin
    Ivan Todorov avatar
    688 posts

    Posted 15 May 2012 Link to this post

    Hello Emilio,

    Thank you for writing.

    You can disable editing the first column by handling the ItemEditing event and checking the CurrentColumn property of RadListView. This scenario is demonstrated in the attached project.

    I hope you find it useful. Do not hesitate to write back if you have any further questions.

    All the best,
    Ivan Todorov
    the Telerik team
    RadControls for WinForms Q1'12 release is now live! Check out what's new or download a free trial >>
Back to Top