Gridview in virtual mode with expression editor

3 posts, 1 answers
  1. Ingo
    Ingo avatar
    21 posts
    Member since:
    Apr 2016

    Posted 08 Dec 2016 Link to this post

    Hello,

    i am using the grid view in virtual mode. The columns are populated with data in the CellValueNeeded Event. This works very well.

    Now i was trying to add an additional column to the grid that shall be polpulated by the user with data generated by the build in Expression Editor.

    The Expression Editor is shown for the column, but i am not sure what to write into the CellValueNeeded Event for this column with the Expression Editor(or if this is even possible)

     

    Thank You for Your help.

    Regards

    Ingo Müller

  2. Answer
    Hristo
    Admin
    Hristo avatar
    1521 posts

    Posted 08 Dec 2016 Link to this post

    Hi Ingo,

    Thank you for writing.

    Using the expression editor with the grid when it is setup in virtual mode is not supported. This behavior is intended because it will interfere with the internal logic of how the cell values are pushed to the grid in virtual mode.

    If indeed you need to use the expression editor functionality is such a scenario you can refer to the attached project demonstrating how this can be achieved.

    I hope this helps. Should you have further questions please do not hesitate to write back.

    Regards,
    Hristo Merdjanov
    Telerik by Progress
    Telerik UI for WinForms is ready for Visual Studio 2017 RC! Learn more.
  3. Ingo
    Ingo avatar
    21 posts
    Member since:
    Apr 2016

    Posted 08 Dec 2016 Link to this post

    Hi,

    thank You for Your answer and the example Project.

    I will try to implement it into my Project.

    Regards,

    Ingo Müller

Back to Top