Self Reference with DataTable

7 posts, 0 answers
  1. Ramasamy
    Ramasamy avatar
    28 posts
    Member since:
    Sep 2011

    Posted 12 Oct 2011 Link to this post

    Hi,

    Is it possible to achieve the Self Reference Hierarchy (RadGridView) feature in TreeListView without using list. I mean I have a datatable with the columns like ID, Name, Parent ID, Location, etc.

    I have directly binded the DataTable property to the RadGridView like that I have to do with TreeListView to avoid parent child column width, scrolling for child gird, etc.

    Please help me to achieve this with TreeListView.

    Thanks,
    Ramasamy
  2. Vlad
    Admin
    Vlad avatar
    11100 posts

    Posted 12 Oct 2011 Link to this post

    Hello Ramasamy,

     Indeed you can use any source to bind RadTreeListView - including DataTable. 

    Kind regards,
    Vlad
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Ramasamy
    Ramasamy avatar
    28 posts
    Member since:
    Sep 2011

    Posted 12 Oct 2011 Link to this post

    Hi,

    Yes. Its possible to bind the DataTable but if I bind the datatable its not showing the parent child relationship. it shows all in one level. I need the functionality of SELF REFERENCE HIERARCHY (RADGRIDVIEW) in TreeListView with DataTable.

    Thanks,
    Ramasamy
  5. eliraz
    eliraz avatar
    20 posts
    Member since:
    Nov 2010

    Posted 27 Feb 2012 Link to this post

    Hello,
    I use wpf Q1 2012 demo version, 
    I need this functionality too, how can I implemention this?
    Thanks.
  6. MURAT ERAYDIN
    MURAT ERAYDIN avatar
    6 posts
    Member since:
    Dec 2009

    Posted 20 Mar 2012 Link to this post

    Hi,

    I need this feature too. Your answer is not satisfactory. Could you please post sample code implementing self-referencing DataTable binding with RadTreeListView.

    Regards.
  7. Florent
    Florent avatar
    1 posts
    Member since:
    Jan 2016

    Posted 17 Mar Link to this post

    I am searching for the same feature can you please provide a example?

    Regards.

  8. Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    280 posts

    Posted 18 Mar Link to this post

    Hello Florent,

    Unfortunately, self-referencing is not a functionality that the RadTreelistView supports. You can check the following threads from our forum:

    - Self Reference with TreeListView

    - TreeListView Performance Issue

    As RadGridView supports self-referencing, you can consider using it in your application. 

    Regards,
    Stefan Nenchev
    Telerik
    Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Back to Top
UI for WPF is Visual Studio 2017 Ready