EhLib.Com https://forum.ehlib.com/en/ |
|
Displayname for ValueFieldDefs in PivotDataSourceEh https://forum.ehlib.com/en/viewtopic.php?f=5&t=839 |
Page 1 of 5 |
Author: | jsm [ 31 Aug 2018, 19:11 ] |
Post subject: | Displayname for ValueFieldDefs in PivotDataSourceEh |
Hi, I change Displayname in ValueFieldDefs , but not effect in PivotGrid and show fieldname |
Author: | jsm [ 01 Sep 2018, 11:39 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Also, Plz explain about sort Value Field column Or Grand Total by code |
Author: | EhLibSupport [ 04 Sep 2018, 20:22 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Hello ValueFieldDefs is a collection of TPivotFieldValueInfoEh element. There are no property Displayname in TPivotFieldValueInfoEh but the property exists in TPivotFieldEh of PivotFields collection and there is a problem with DisplayName. We will fix it at the next build. About Quote: Plz explain about sort Value Field column Or Grand Total by code Could you rewrite your question with more details. Do you want to show/hide Grand Total in the code? And what is the question about "Value Field column"? |
Author: | jsm [ 05 Sep 2018, 08:37 ] | ||
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh | ||
Thanks, my second question is exactly: plz show me(write) demo code for sort ValueFieldDefs(Or Grand total). I want sort grand total by code(dynamically) Also, Plz Guide me about ValueFieldDefs(Or Grand total) Alignment(Text Or Title)
|
Author: | jsm [ 13 Sep 2018, 03:33 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Has the problem resolved in the new version?(DisplayName) And I am waiting for your answer(about Sorting), Thanks |
Author: | EhLibSupport [ 17 Sep 2018, 21:55 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Hello ------ We fixed the Displayname error in the build EhLib 9.2 Build 9.2.028. ----- About sort grand total column. There are no special function to perform that action. You should use next tricky code Code: procedure TForm1.Button2Click(Sender: TObject);
var PvtGridCore: TPivotGridEhCrack; ActualGridArrayIndex, ActualGridArrayRowIndex: Integer; GridCol, GridRow: Integer; begin PvtGridCore := TPivotGridEhCrack(PivotGridEh1); GridCol := PvtGridCore.FullColCount-1; GridRow := 2; PvtGridCore.VisPivotPosToSrcArrayPos(GridCol, GridRow, ActualGridArrayIndex, ActualGridArrayRowIndex); PvtGridCore.FDataSortColNum := ActualGridArrayIndex; PvtGridCore.FDataSortSortOrder := soDescEh; PvtGridCore.ResortRowSortingTree; PvtGridCore.MakeVisPivotGridArray; PvtGridCore.InvalidateGrid; end; |
Author: | jsm [ 24 Sep 2018, 19:21 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
I use below code in last build(28): PivotDataSourceEh1.PivotFields.FindFieldByName('Tedad').DisplayName:= 'ُSample Text'; but not effect in pivotgrid |
Author: | jsm [ 23 Oct 2018, 09:44 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
I am waiting for your answer Thanks |
Author: | EhLibSupport [ 23 Oct 2018, 15:39 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Hello Please, try last build - it is EhLib 9.2 Build 9.2.031 now. |
Author: | jsm [ 05 Dec 2018, 16:35 ] |
Post subject: | Re: Displayname for ValueFieldDefs in PivotDataSourceEh |
Hi, I checked with EhLib 9.3 Build 9.3.011, but not work |
Page 1 of 5 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |