Click on Series / Update List (not hash)

Hi - Awesome product! I’m learning as much as I can about it.

I have an instance on our site where I have several charts that when the user clicks on a series, it filters a list on the same page using the hash method on your blog. This works fine.

I can’t get this method to work, however when the list is transformed using an XSLT stylesheet. OR- if I change the “Style” of the listview to anything other than “Default”. The OOTB Sharepoint styles aren’t very good but I’ve already created some nice looking XSLT transformations for my lists.

I was able to get filtering working using a QueryString paramater in the URL, but that forces a page refresh - not very elegant when the charts have to reload, etc.

Do you know of a method to have a chart filter a connected listview that IS transformed using an XSLT stylesheet? Possibly using JavaScript/JQuery? Something clean and not requiring a page refresh would be preferable.

Thanks!

Hi,
Thank you for the question. Good to know that someone implements such complex cases with the help of our tool. Go ahead!

As for the question, yes, I guess you can filter a server-side view asynchronously. First, you should enable asynchronous update in the view properties (Web Part properties -> AJAX options). Next, insert hidden input element into the page. Bind the view to this input through the binding parameter:

<ParameterBinding Name="filter" Location="Form(inputName)" DefaultValue="" />

Configure the CAML-query so that it filters the list by this parameter.

And finally, add JavaScript code into Advanced tab of the Dashboard Designer that sets the input field and triggers update of the view when a user clicks a series. I guess the following post of mine might be helpful:
sharepointdeepdive.blogspot.com/ … bpart.html