Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8874009
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 14, 20262026-06-14T18:36:47+00:00 2026-06-14T18:36:47+00:00

I am using DevExpress TreeList . I have read this article and followed the

  • 0

I am using DevExpress TreeList. I have read this article and followed the steps.

  1. Created ImageList and added icons init.
  2. TreeList property is set SelectImageList = ImageList
  3. TreeList.ImageIndexFieldName = "ImageID"
  4. Following DataTable is assigned to TreeList.DataSource

Table is given below

ID   Name   Parent   ImageID
1    Root     0         0
2    Node1    1         1
3    node2    2         2
4    node3    2         2

The Problem is TreeList is showing same icon with each node.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-14T18:36:49+00:00Added an answer on June 14, 2026 at 6:36 pm

    I found the problem in this, problem was in the data type.

    While adding columns in datatable just mention its type.

    dt.Columns.Add("Parent", typeof(decimal));
    dt.Columns.Add("ImageID", typeof(decimal));
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using TreeList of DevExpress with C#. I have some scenario like this,
I have created a web application using Devexpress trial version. I have installed the
I'm using devexpress and i have two problems. My insert stored procedure work fine.
I have D2006 and I am using DevExpress QuantumGrid 6 in a project. I
I have a base class, defined as below (I'm also using DevExpress components): public
I am using Entity Framework and DevExpress 10.5 XtraGrid. Imagine that we have entities
I have drawn a checkbox in devexpress grid group row using the code below.
I have a project using DevExpress docking components, I create forms in run-time, which
I am using DevExpress in my winform application, I have a gridview, data entry
i am using devexpress gridview 9.2. i have 2 gridview having 2 colum -->

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.