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

[Solved] Listview click effect

1 Answer 160 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cihan
Top achievements
Rank 1
Cihan asked on 30 Nov 2012, 02:03 PM
Hej,

Firstly, In kendoui.trial.2012.3.1114\examples\mobile\listview\index.html sample page shows when the user click list item, list item turn to blue on press and when the user release to touch list item turn to normal. This is the normal state. 

I apply the same .html file in Icenium Kendo UI framework project but listview item don't react any effect when i select the item on release the item. I don't understand wht is it like that? Is this problem about the kendo framework or the icenium IDE? I am not sure this is this question should be asked here. I already asked the same question on kendo forums. 

On the other hand, the main purpose for my listview is have to fill from web service and i can fill the listview from web service but still the same problem i can't get the click effect on the selected listview item. Here is filling code for listview:

$.ajax({
type: "POST",
url:  SERVICE_URL_GET_FIRM_LIST,
data: "{ firmID:" + firmID + "}",
contentType: "application/json; charset=utf-8",
dataType: "json",
beforeSend: function() {
app.showLoading();         
},
success: function(msg) {
firmItems = JSON.parse(msg.d);
$("#firm-listview").kendoMobileListView({ dataSource: firmItems, template: $("#firmListViewTemplate").text() });           
},
complete: function() {
app.hideLoading();
},
error: function(msg) {
app.hideLoading();
alert('Firma listesi alinirken hata olustu!...');
}
}); 

<script type="text/x-kendo-template" id="firmListViewTemplate">
            <p>${Definition}</p><a data-role="detailbutton" data-style="detaildisclose"></a>
</script>

Kind Regards.

1 Answer, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 04 Dec 2012, 10:37 AM
Hello Cihan,

I'm not sure what may cause this behavior on your side. Maybe you have included some CSS rules that is overriding the default Kendo ones.

What you can do is to use the Icenium's simulator debug tools and inspect the listview elements styles. You can watch this video to get yourself started.

Regards,
Stefan Dobrev
the Telerik team

Share feedback and vote for features on our Feedback Portal.
Want some Kendo UI online training - head over to Pluralsight.
Tags
General Discussion
Asked by
Cihan
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Share this question
or