How can I apply DragFlickBehavior in code? - windows-8

How can I apply the win8nl DragFlickBehavior for a grid in code behind?
Any help will really appreciated.
Thanks in advance

I got the solution
Win8nl.Behaviors.DragFlickBehavior behaviour = new DragFlickBehavior();
WinRtBehaviors.Interaction.GetBehaviors(grdNew).Add(behaviour);

Behaviours are currently not supported on Win8Dev. Have a look at
http://winrtbehaviors.codeplex.com/
This post by the author shows how to use implement it
http://dotnetbyexample.blogspot.co.uk/2012/03/attached-behaviors-for-windows-8-metro.html

Related

Qlik Sense - GetfieldSelections

sum({$<[Category Parent]={GetfieldSelections([Category Parent])}>}Revenue)
This is not working in Qliksense. Any idea ? Thanks in advance.
sum({$<[Category Parent]={'$(=GetfieldSelections([Category Parent]))'}>}Revenue)

Dojo Filtering Select Filtering

Is there a way to include the entire value in the filtering search? For example, searching “123″ would return the value “Test 123″. By default, the control only filters starting with the first character.
I tried modifying the queryExpr property mentioned here, but nothing seemed to work for me. Thanks for any tips.
I realise this is 2 years ago but I'm just answering in case someone else comes along looking!
You can specify the queryExpr like this:
<xe:djFilteringSelect id="djFilteringSelect1" value="#{viewScope.myvalue}" autoComplete="false">
<xe:this.queryExpr><![CDATA[${javascript:"*$\{0}*"}]]></xe:this.queryExpr>
<xp:selectItems id="selectItems1" value="#{myBean.mySelectItems}"/>
</xe:djFilteringSelect>

I need example about Ext.draw.engine.ImageExporter

I want to export Ext Chart using type SVG. But i dont understand it.
Could you give me a example about Ext.draw.engine.ImageExporter (Ext 4.1)
Thank for helping
Nguyen
A working example that uses the ImageExporter:
http://dev.sencha.com/deploy/ext-4.1.0-gpl/examples/charts/Area.html

CAML query generator/builder

i am looking for sharepoint caml query builder function which could take input as field/value/operator/condition and return caml query string with both combinations (AND/OR)
check out these tools
http://www.codeproject.com/Articles/458008/CAML-Query-Builder
http://spcamlviewer.codeplex.com/
http://spcamlqueryhelper.codeplex.com/
hope it helps :) .
The U2U tool link seems to be broken now:
I've found this instead:
About: http://www.sjoukjezaal.com/blog/tool-sharepoint-developers-caml-designer/
Download:
http://sharepoint.biwug.be/SitePages/Caml_Designer.aspx
For C#, check out Camlex.NET: http://camlex.codeplex.com/

how to use getdatasource(request) method

new to struts i try to get database connection using datasource. any one tell me how to use getdatasource(request) method in struts...give me some example
Thanks in Advance
Regards
Mouli V
Here are some examples from the net
http://www.javabeat.net/articles/24-introduction-to-struts-actions-3.html
http://www.jaxmag.com/itr/online_artikel/psecom,id,616,nodeid,147.html
http://struts.apache.org/1.1/faqs/database.html