Custom DataSource for each GridViewComboBoxColumn in GridView rows

4 posts, 0 answers
  1. Marko
    Marko avatar
    2 posts
    Member since:
    Jan 2012

    Posted 15 Oct 2013 Link to this post

    So i have a grid with multiple columns and one is a ComboBox. The problem I encountered is that each row has to have diferent items in that ComboBox. I tried setting the DataSource on the Column, bit it just messes up every row. Also tried to find the ComboBox from the Rows property with no success.
    I was also thinking of the performance impact this would have? If i have 1000 rows with 1000 ComboBoxes an 1000 DataSources? Probably not good :/
    Would really appreciate any help or tips anyone can give me.
  2. George
    Admin
    George avatar
    500 posts

    Posted 18 Oct 2013 Link to this post

    Hi Marko,

    Thank you for contacting Telerik Support.

    We have a great KB article which you may find helpful. It is located on the following URL address - Cascading ComboBoxes in RadGridView. I hope it will fit your scenario.

    Let me know if there is anything else I can be helpful with.

    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. Marko
    Marko avatar
    2 posts
    Member since:
    Jan 2012

    Posted 21 Oct 2013 Link to this post

    Great! After skimming through the article, I think it's exactly what I need. Was fiddling with custom Grid editors before and it wasn't working as I hoped. Will try the approach in the KB article and see how it goes.

    Tnx
  4. George
    Admin
    George avatar
    500 posts

    Posted 23 Oct 2013 Link to this post

    Hello Marko,

    Let me know If there is anything else I can do for you.

    Regards,
    George
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WINFORMS.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
Back to Top