|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 2010-05-16 05:14:12
Posts: 63,
Visits: 355
|
|
| I was trying to understand Recursion for implementing Categories & SubCategories. I went through Peter's article at http://edn.embarcadero.com/print/33259 & also Holger's article at http://delphi2006.blogspot.com/2005_12_01_archive.html (Holger's article does give the code .But i wanmt to select a record & add detials) Is there a demo for the article? I mainly want to know how to add Subcategory in code/GUI.Is it to be treared like Master Detail ie Select a Category & add a subcategory & so on
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
There's no existing demo code, no.
Which part are you stuck with?
====
Pete
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 2010-05-16 05:14:12
Posts: 63,
Visits: 355
|
|
| I want to know the steps to create subcategories after creating a category
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
Well what kind of interface do you want?
====
Pete
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 2010-05-16 05:14:12
Posts: 63,
Visits: 355
|
|
| I was working on asp.net.
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
I meant, what do you want the interface to look like?
====
Pete
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 2010-05-16 05:14:12
Posts: 63,
Visits: 355
|
|
| I need to create groups & subgroups & then assign it to a Person.Hence i need to select a person & the n assign them to group & subgroup. Hence i plan to use a gridview to display the Person & the select Group & subgroup from dropdown lists. This is where the confusion starts ie how to get the group & subgroup & then assign them to a Person ?
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
So is it merely a master + detail, or is it a tree-like structure in which you can have between 2 and (infinity) sub levels?
====
Pete
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 2010-05-16 05:14:12
Posts: 63,
Visits: 355
|
|
| Now that you have mentioned it,it will be more like a Tree like structure with infinity sublevels.I have not done this before & hence could not mention it earlier.
|
|
|
|
|
Supreme Being
      
Group: Forum Members
Last Login: 2011-07-14 17:05:00
Posts: 290,
Visits: 2 617
|
|
How many selectable nodes could you have? Few enough to put into a single combobox, or too many?
====
Pete
|
|