Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Steve Lapides  
#1 Posted : Monday, November 4, 2019 7:30:34 PM(UTC)
Steve Lapides

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 21
Location: Vienna, Virginia

After creating child rows of a parent by using .AddRow(, , , , , , ParentRow), how do I ensure that the child row(s) display immediately after the parent rows when the grid is sorted by clicking on a column header? See attachment for an example. Specification is the primary row and Claims, Drawings, and Abstract are child rows. After clicking on any column header to sort, the child rows are no longer immediately after the parent.

Screen shot of grid.png
Igor/10Tec  
#2 Posted : Tuesday, November 5, 2019 7:29:29 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,111

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
Can you send us a sample demonstrating your problem and some accompanying screenshots?
Steve Lapides  
#3 Posted : Wednesday, November 6, 2019 1:43:21 PM(UTC)
Steve Lapides

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 21
Location: Vienna, Virginia

Attached is a word document showing the grid after sorting. The child rows are no longer connected to the parent row. I can handle this easily enough using the AfterContentsSorted event if there is no property available that allow it to be done automatically. Examples of Sorting.docx (51kb) downloaded 5 time(s).
Igor/10Tec  
#4 Posted : Wednesday, November 6, 2019 3:22:39 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,111

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
It's impossible to say what can be wrong without having source code. Can you create and send us a sample demonstrating your issue?
Steve Lapides  
#5 Posted : Friday, November 8, 2019 7:38:24 PM(UTC)
Steve Lapides

Rank: Member

Groups: Registered
Joined: 11/1/2019(UTC)
Posts: 21
Location: Vienna, Virginia

I was able to handle this using a hidden column to link the child rows with the parent. That allowed me to reposition the child rows (using MoveRow) after any sort, then resequence the child rows in the proper order. Not elegant, but effective.
Igor/10Tec  
#6 Posted : Saturday, November 9, 2019 6:22:35 AM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,111

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
I'd like to see a sample demonstrating the issue anyway. If it's an issue in iGrid, it must be fixed, and we are ready to do that.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.