Print Page | Close Window

Persistent tree indent. Bug or feature?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=8126
Printed Date: 10 November 2024 at 3:22am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Persistent tree indent. Bug or feature?
Posted By: Blob
Subject: Persistent tree indent. Bug or feature?
Date Posted: 22 September 2007 at 6:34am
Hi.

After adding child items, ReportRow has "+"-button for collapsing/expanding.
But after ReportControl.Records.DeleteAll() and adding new Records - indent to first item in each row have to indent such as row have a child items.
Can I reset this indent? Or this is a Bug?


P.S. Sorry for my English



Replies:
Posted By: Blob
Date Posted: 22 September 2007 at 7:45am
I understand!!!! 

ReportControl.Columns.DeleteAll() is not reset column property TreeColumn to default.

So! Bug or feature?


Posted By: sserge
Date Posted: 23 September 2007 at 4:45pm
Hi,

Firstly please ensure you're calling .Populate after adding/deleting records. This is a primary source of such "bugs"...

--
WBR,
Serge


Posted By: Blob
Date Posted: 24 September 2007 at 6:40am
Sorry. I'm to express oneself with ambiguity.
Records.DeleteAll() - work fine and properly.

Columns.DeleteAll() after deleting column and adding new - properties of new column is not restore to defaults (i.e. stay from deleted column) e.g. TreeColumn property.


Posted By: sserge
Date Posted: 14 October 2007 at 5:14pm
Originally posted by Blob Blob wrote:

Columns.DeleteAll() after deleting column and adding new - properties of new column is not restore to defaults (i.e. stay from deleted column) e.g. TreeColumn property.


This looks to be a correct behavior. Note that you firstly delete a column. Of course its properties are also deleted as well.

--
WBR,
Serge



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net