R
Ryan Ternier
I'm currently run into a snag on one of my projects. We need to create an
ordered list (Mutli levels).
Ie:
1. Some Title
....A....Something here
....B....Something Else
2. Another Title
....A.....I'm here Again
........a....And again.
.............1....One more indent
3..and another
(I don't know if what I typed up there will appear that way... it should)
without the dots.
I have 2 DataTables. One has all the Titles, and the titles that have the
indent. THen I have all the items that go under those titles the other
DataTable.
There are no Child-Parent relations, instead I've used an "Indent" column
(int) that tells me how many times to indent that title, then all items
under that Title will be moved over X amout of pixels.
THe other night I was thinking about using a Recursive loop for this, but
don't know where to start. I'm doing this in C#, and it is being rendered to
PDF so I have some control over how to put the lists.
I can't use HTML.
ANy help would be awesome!
thx.
ordered list (Mutli levels).
Ie:
1. Some Title
....A....Something here
....B....Something Else
2. Another Title
....A.....I'm here Again
........a....And again.
.............1....One more indent
3..and another
(I don't know if what I typed up there will appear that way... it should)
without the dots.
I have 2 DataTables. One has all the Titles, and the titles that have the
indent. THen I have all the items that go under those titles the other
DataTable.
There are no Child-Parent relations, instead I've used an "Indent" column
(int) that tells me how many times to indent that title, then all items
under that Title will be moved over X amout of pixels.
THe other night I was thinking about using a Recursive loop for this, but
don't know where to start. I'm doing this in C#, and it is being rendered to
PDF so I have some control over how to put the lists.
I can't use HTML.
ANy help would be awesome!
thx.