Telerik Forums
Kendo UI for jQuery Forum
1 answer
81 views
using "pullToRefresh: true," on a listview element gives me "a.scroller is undefined" error.  If I comment out   "pullToRefresh: true," I do not get the error.  Can anyone see what Im doing wrong here?
<div data-role="view" data-title="Control Panel - Mobile" id="listtickets" data-init="listTicketsInit">
     <h2>Tickets</h2>
     <p><a data-align="left" data-role="button" href="/support/newticket/">New ticket</a></p
     <ul id="support_list" data-style="inset"
          
     </ul>
 </div>
      
 
<script id="support_list_template" type="text/x-kendo-template">
     <li style="font-weight:normal" >
         <div style="float:left; width:20% ">
             #= DateCreated #
         </div>
          <div style="float:left; width:80% ">
             <a href="/support/view/#= ThreadID #">#= Subject #</a>
         </div>
      </li>  
</script>
 
<script>
  function listTicketsInit() {
     
       
      var ticketdata = <?=json_encode($tickets)?>;
        
       var dataSource = new kendo.data.DataSource({
           data: ticketdata,
           dataType: "json",
           schema: {
             model: {
                 id: "ThreadID",
                 fields: {
                     DateCreated: "DateCreated",
                     ThreadID: "ThreadID",
                     Subject: "Subject"
                    }
                }
            
        });
 
       $("#support_list").kendoMobileListView({
           dataSource: dataSource,
           pullToRefresh: true,
           appendOnRefresh: true,
           template: $("#support_list_template").text()
       });
Many thanks
Petyo
Telerik team
 answered on 24 Apr 2012
2 answers
349 views

Hi

When the grid is grouped, the grouping column is visible with the same 
values in each cell of each group. Looks weird and confusing.

How can we accomplish more efficient look and hide the grouping column? 

See attached pic and here: http://demos.devexpress.com/aspxgridviewdemos/GroupingSorting/Grouping.aspx 

2nd question:
Is it possible to customize the group header cell? 
Instead of default template "{ColumnName}: {GroupName}"
I need something like "{ColumnName}: <b>{GroupName}</b> – <span class="groupRowCount">({Count} my text)</span>"

Thanks!

Vadim
Top achievements
Rank 1
 answered on 24 Apr 2012
1 answer
139 views
Is is possible to have nested scroll views?

I want a normal scroll view but at the bottom (above the 1st scroll view paging indicator, I want to display another scrollview
Petyo
Telerik team
 answered on 24 Apr 2012
1 answer
119 views
Hi,

Anybody got this Kendo Mobile – Overview (below) in zip file?

http://demos.kendoui.com/mobile/m/index.html#index

The Kendo UI mobile download does not include a working index.html for Kendo Mobile Overview.

I want one that I can put in my hard drive and run, not online, similar to jQTouch.

http://jqtouch.com/

You can download jQTouch and got working index.html + working demos / examples (i.e. Clock and ToDo) that you can use in PhoneGap and QuickConnect.

Thanks.








Petyo
Telerik team
 answered on 24 Apr 2012
2 answers
1.3K+ views
I want a new event to intercept when the window is closing.
The close event do not work, because I can't cancel the action.

What can I do with this version of Kendo Window. (2011.3.1129)

Stef.
Alex Gyoshev
Telerik team
 answered on 24 Apr 2012
0 answers
63 views
Whats the best way to check if kendo is available or not?  I have a widget and I need to be able to determine that the user has linked it into the page or not.
sitefinitysteve
Top achievements
Rank 2
Iron
Iron
Veteran
 asked on 24 Apr 2012
2 answers
134 views
I have a change event hander for my datasource

change: function (e) {
    newData(e);
}

Right now, if the newData exits normally, without hitting the return statement, then all works fine. But if i uncomment the last line in the listing below (which returns nothing) then the datasource is not updated in the Grid that is mapping it. I have tried returning true, false, this and e, but nothing works:

What is an event handler supposed to return (documentation needs to be filled, as well as what the value of e is supposed to be).

btw searchData below is that handle for the datasource

function newData(e) {
    $("#recCount").text(searchData.total());
 
    chartData.series = [];
    chartData.names = [];
    var groups = searchData.view();
    var groupCnt = groups.length;
    var group;
//    if (groupCnt == seachData.total()) return; // nothing grouped, no meaningful chart can be created.
Dr.YSG
Top achievements
Rank 2
 answered on 23 Apr 2012
2 answers
157 views
Hi,

For some reason popup does not work in IE. jsfiddle sample
Access denied error.
FYI: Version 2011.3 1407 does not have this issue.
Maxim
Top achievements
Rank 1
 answered on 23 Apr 2012
0 answers
121 views
Hi,
i have a problem with the dropdown-box. It does not submit any value.
My Form looks like this:
<form action="/setseeker/users/add/" id="UserAddForm" method="post" accept-charset="utf-8">
	<input type="hidden" name="_method" value="POST"/>
<span class="label">Mail</span>
	<div class="input text required">
		<input name="data[User][email]" maxlength="255" type="text" value="" id="UserEmail"/>
	</div>
SOME OTHER FORM ELEMENTS
	<span class="label">Pro Nutzer</span>
	<div class="input select">
		<select name="data[User][ispro]" id="UserIspro">
		<option value="0">Nein</option>
		<option value="1">Ja</option>
		</select>
	</div>

	<div class="submit">
		<input  type="submit" value="Erstellen"/>
	</div>
</form>
The Post looks like:
Array
(
    [_method] => POST
    [data] => Array
        (
            [User] => Array
                (
                    [username] => 
                    [password] => 
                    [email] => test@web.de
                    [newpassword] => 1
                )

        )

As you can see, there is no value for
<select name="data[User][ispro]" id="UserIspro">


I dont know whats wrong. I hope someone of you may help me to fix this error.

Thanks
Nico
Nico
Top achievements
Rank 1
 asked on 23 Apr 2012
0 answers
60 views
Sorry, I found the error in my code and so would like to delete this post.
Lee
Top achievements
Rank 1
 asked on 23 Apr 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Iron
Iron
Iron
Atul
Top achievements
Rank 1
Iron
Iron
Iron
Alexander
Top achievements
Rank 1
Veteran
Iron
Serkan
Top achievements
Rank 1
Iron
Shawn
Top achievements
Rank 1
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?