This is a migrated thread and some comments may be shown as answers.

Grid Chart Question

4 Answers 72 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Matt
Top achievements
Rank 1
Matt asked on 08 May 2012, 07:11 PM
Can the Grid chart "allow the user to expand and minimize the raw data view"?

What is being asked is for the Grid Chart to essentially be hidden, unless a user hits a button on the report to open that view up.  I was under the impression that this was not what the software actually did.  I'm trying to explain this to my PM in a way that he will understand.  The closest thing I seem to find is the Filter opeion in the properties menu, but I am unsure if this is what I need to accomplish this task. 

What I have right now is a Grid Chart that is displaying all of the raw data in a report via a custom SQL query.  Obviously, with a 1000 results, this can be a lot of data on one report view. 

4 Answers, 1 is accepted

Sort by
0
Steve
Telerik team
answered on 09 May 2012, 03:59 PM
Hello Matt,

We're not sure what you refer to as a "Grid chart" - the Chart or the Table report item? In either way, you seem to request interaction that would allow you to resize the items dynamically which is not available in Telerik Reporting.

If this is not what you're after, we would appreciate if you elaborate on your inquiry and provide screenshots that show what you're after.

Greetings,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Matt
Top achievements
Rank 1
answered on 09 May 2012, 07:23 PM
Actually.  I found the way I was looking for in a roundabout fashion.  My Software Developwer created a custom query in SQL to help this process along. 

You create an input parameter, in this case "Show Data".  Obviously you make it visible, set the value to =False, and make the type a Boolean.

In the Grid Chart, you create a Binding with the property path set to Visible, and the Expression set to =Parameters.ShowData.Value

I got what I was looking for.  When the report runs, there is a parameter at the top that Says Show Data True/False, which can be toggled.  it is auto set to False on the intial run, so the Grid Chart doesn't show.

Last question.  I was able to change the "Preview" Button to say "Run" via a line of code.  Can the selectors that say "True" and "False" be changed as well, or are those hard coded?  I was thinking of switching them to say "Show" and "Hide"

0
Steve
Telerik team
answered on 10 May 2012, 02:01 PM
Hello Matt,

Yes you can change those via the respective properties of the report viewer - reportparametersfalsevaluelabel and reportparameterstruevaluelabel.

Kind regards,
Steve
the Telerik team

BLOGGERS WANTED! Write a review about Telerik Reporting or the new Report Designer, post it on your blog and get a complimentary license for Telerik Reporting. We’ll even promote your blog and help bring you a few fresh readers. Yes, it’s that simple. And it’s free. Get started today >

0
Matt
Top achievements
Rank 1
answered on 11 May 2012, 04:48 PM
That did it!  My first real code string.  Thanks for the direction on that one.
Tags
General Discussions
Asked by
Matt
Top achievements
Rank 1
Answers by
Steve
Telerik team
Matt
Top achievements
Rank 1
Share this question
or