I want to create a tree view which fetching data from Database and after that order it by parent field So table fields are included :
TreeID collectiveID parentID parentID_ncls
the record that is been mentioned by name " parentID " is 0 without any root and when it wish have any ID code / number , parent Id should come in this palce so structure of the table must be sent to the View :