HI ,
I have a IDetail view as following ,
On the click event of ListView Item I need to navigate to this view .. I am handling click event as following ,
and sessionDetailsViewClick function is written as following ,
I am successfully getting selected Title, I need to pass this as queryparamter to detail view while navigating. Any help would be much appreciated
Thanks
Dhananjay Kumar
I have a IDetail view as following ,
<
div
data-role
=
"view"
id
=
"SessionDetails"
data-transition
=
"slide"
data-layout
=
"default"
data-show
=
"showDetailsView"
>
<
header
data-role
=
"header"
>
<
div
data-role
=
"navbar"
>
<
a
data-role
=
"backbutton"
data-align
=
"left"
>Back</
a
>
<
span
data-role
=
"view-title"
>Session</
span
>
</
div
>
</
header
>
<
div
data-role
=
"content"
>
</
div
>
</
div
>
On the click event of ListView Item I need to navigate to this view .. I am handling click event as following ,
$(
"#sessionsView"
).kendoMobileListView(
{
template:
"<strong>${Title }</strong><br/><a data-role=\"detailbutton\" data-style=\"detaildisclose\"></a>"
,
endlessScroll:
true
,
scrollTreshold: 30,
dataSource: sessionData,
click: sessionDetailsViewClick
});
and sessionDetailsViewClick function is written as following ,
var
sessionDetailsViewClick =
function
(e) {
console.log(e.dataItem.Title);
console.log(
"Navigate to Detail View from here"
);
}
I am successfully getting selected Title, I need to pass this as queryparamter to detail view while navigating. Any help would be much appreciated
Thanks
Dhananjay Kumar