Hi Stimul Team,
Congrats ur Urgent Help.
Already We worked LGX Report Tool, Its available dynamic sorting Header Band Heading.
Stimulsoft,
If Possible to dynamic sorting Header Band Heading ?
For Example,
If click Name Column then Ascending order and click again Name column should be Descending order.
Becaze Its Very useful in our End User.
Thanks in Advance,
If Possible to dynamic sorting column based on Header Band Heading ?
-
- Posts: 101
- Joined: Wed Jul 26, 2006 8:03 am
- Location: CHENNAI-TN, INDIA
If Possible to dynamic sorting column based on Header Band Heading ?
In the current version of the Stimulsoft Reports.Net engine this can be achieved only "by hand" with script, Tag property of the StiText component (which can store additional information about Column Name which is sorted) ClickEvent and full re-rendering of the report.
But such a component as 'Table' is in our plans. We plan to issue such a component in one of the future releases of the Stimulsoft Reports.Net.
Thank you.
But such a component as 'Table' is in our plans. We plan to issue such a component in one of the future releases of the Stimulsoft Reports.Net.
Thank you.
-
- Posts: 101
- Joined: Wed Jul 26, 2006 8:03 am
- Location: CHENNAI-TN, INDIA
If Possible to dynamic sorting column based on Header Band Heading ?
We did Following code in Column GetTagEvent
DataView dv = new DataView(this.Dictionary.DataSources["Table1"]);
//apply a sort
dv.Sort = "Table1.first_nm Desc";
But it throw invalid arguments Error.
Please provide sample code.
thanks in Advance
Marimuthu K
If Possible to dynamic sorting column based on Header Band Heading ?
Please use following code in ClickEvent of required component:
Thank you.StiText text = sender as StiText;
StiReport report = text.Report;
StiDataBand dataBand = report.GetComponents()["DataBand1"] as StiDataBand;
dataBand.Sort = new System.String[] {
"DESC",
"CompanyName"};
report.Render(false);
-
- Posts: 101
- Joined: Wed Jul 26, 2006 8:03 am
- Location: CHENNAI-TN, INDIA
If Possible to dynamic sorting column based on Header Band Heading ?
This solution is working Preview, but not working in HTML Preview
Becaze we are using WebViewer in Webpage. If we use click then re direct to another Page.
Please kindly check and provide solution.
Thanks in Advance,
Becaze we are using WebViewer in Webpage. If we use click then re direct to another Page.
Please kindly check and provide solution.
Thanks in Advance,
Marimuthu K