EhLib.Com
https://forum.ehlib.com/en/

Bug with DBGridEh in the Grouping and TreeView.
https://forum.ehlib.com/en/viewtopic.php?f=5&t=986
Page 1 of 1

Author:  Luciano_F [ 13 Jul 2019, 19:20 ]
Post subject:  Bug with DBGridEh in the Grouping and TreeView.

Hello good day.
I'm doing some tests with a Trial version that I downloaded about 40 Days.

I have a DataSet with 99,000 Records and when I use Grouping by any Field
gives accessViolation error sometimes I even get it
but I can not get the Grouping.

And in TreeView it gives "Reference-Loop Found" error so I realized the error is because the Field Value
"KeyFieldName" exists within the "RefParentFieldName" field in the same Line ie Record
I would have to put Null on the same line in the field "RefParentFieldName" however I did tests with component
TreeList from "DevExpress" and the XDbGrid from "x-files.pl" and both can mount the TreeList.
I currently mount using the default Delphi TreeView, however I want a "TreeView Grid"
I see that I could even change by putting Null in the field "RefParentFieldName" but there are many tables that I have
and it would have to do this in some Clients what would be a Hard Work, maybe you can solve this
limitation.

Link is a test project already with the TClientDataSet XML for you to test.
https://mega.nz/#!975mFKxC!q1LefKrIUdvWPsFpZGJSJbtWyGe2NkY0Iaygoa3VU_A

Author:  EhLibSupport [ 17 Jul 2019, 22:37 ]
Post subject:  Re: Bug with DBGridEh in the Grouping and TreeView.

Hello Luciano

1.
About accessViolation in DBGridEh with Grouping mode.
Really bug in DBGridEh.
We will fix it at the next build.
Thank you for information with demo.

2.
About records that refers to itself to define root nodes.
We need to make certain tests in order to understand that such an algorithm for building a tree will not break the logic of building a tree in the current algorithm.

Author:  EhLibSupport [ 18 Jul 2019, 21:06 ]
Post subject:  Re: Bug with DBGridEh in the Grouping and TreeView.

Hello Luciano

Please, check last build - EhLib 9.3 Build 9.3.032.
We fixed Grouping and TreeView problems.

Author:  Luciano_F [ 24 Jul 2019, 11:04 ]
Post subject:  Re: Bug with DBGridEh in the Grouping and TreeView.

EhLibSupport wrote:
Hello Luciano

Please, check last build - EhLib 9.3 Build 9.3.032.
We fixed Grouping and TreeView problems.



the treeview is ok but the grouping still does not work with many records, I can mount drag a field to the grouping but I can not remove the field, see this video,
where the top grid has 100,000 records and I can't remove a field from the grouping, the bottom grid has less than 500 records and it is possible to remove the fields
This is the same example of the initial topic I sent you.


https://mega.nz/#!ZiYRxAyA!6MJD-kMyqlNOZT_Os-j7BA2mZVuS9aHMmrlhjDRt9nY

Author:  EhLibSupport [ 24 Jul 2019, 15:13 ]
Post subject:  Re: Bug with DBGridEh in the Grouping and TreeView.

Hello Luciano

In the top Grid you have RowPanel.Active = True;

How important is it for you to have a grouping mode with a simultaneous RowPanel mode?
In the RowPanel.Active = False mode the grouping should work.

Author:  Luciano_F [ 24 Jul 2019, 16:07 ]
Post subject:  Re: Bug with DBGridEh in the Grouping and TreeView.

EhLibSupport wrote:
Hello Luciano

In the top Grid you have RowPanel.Active = True;

How important is it for you to have a grouping mode with a simultaneous RowPanel mode?
In the RowPanel.Active = False mode the grouping should work.



Perfect I had to disable the "RowPanel.Active" option in order to remove a Group
Now it's ok.

Much obliged.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/