Telerik Forums
Kendo UI for jQuery Forum
1 answer
80 views
I have a grid hooked up to a XML fed DataSource.
For the case of 'no rows' returned the response body is null/blank
When the data source encounters this response, it goes to 'lala' land and does not respond properly when read is requested again

See
http://devenezia.com/kendo/zeroRowsProblem.html

What are some grid/datasource strategies for dealing with no data conditions ?

Thanks,
Richard
Richard
Top achievements
Rank 1
 answered on 21 Mar 2012
3 answers
154 views
Hello,

   I have requirement like show the Annotation in bar chart.

   Does kendo UI chats supports Annotation..?


Thanks,
Rajesh
T. Tsonev
Telerik team
 answered on 21 Mar 2012
0 answers
90 views
Hi,

I have a Kendo grid, with one of the field having type:"date". I have also given filtering on client side as true. But, when i do filtering it shows error that "cannot parse d.fieldName.getTime". Am i missing something? In my grid, the column values have both date as well as time in the format : mm/dd/yyyy hh:mm:ss. Do i need to specify any format?

Regards,
Khushali
Khushali
Top achievements
Rank 1
 asked on 21 Mar 2012
1 answer
83 views
For lack of a better place to report this: it seems that the search function at the top of the forum pages is not working at the moment. The search box comes up with suggestions as I type, but none of the searches I tried actually came up with a search result.
Filip
Telerik team
 answered on 21 Mar 2012
0 answers
72 views
Hi,

      Using kendoDropdownList and stuck in a scenario where i have a common header for which i have applied some styles through jquery on Document.ready, they work perfectly fine for my dashboard but when i call a partial from dashboard which is also using the same header then the styles are re-initialized to originals. any ideas or solutions? 
 
Saqib
Top achievements
Rank 1
 asked on 21 Mar 2012
1 answer
235 views
Hi,

     On Page load by default first Index is selected which in my case is not required. How to avoid this.
     I tired using
   
     $(document).ready(function() {
        $('#my_id').kendoDropDownList({
           index: -1
        )}
     but it didn't work. Any suggestion?
Saqib
Top achievements
Rank 1
 answered on 21 Mar 2012
0 answers
109 views
can i apply kendo graph to my mobile application
Arun
Top achievements
Rank 1
 asked on 21 Mar 2012
2 answers
84 views
I have a JSON remote data source that has 2379 rows (pageSize: 5). For a one second flash, I see page [1] as a button at the bottom of the grid, but then it dissapears, and my grid looks like pageable:false.

The JSON is long, but here is the beginning:

{"pageSize":2739,"results":[{"bbox":"SRID=4326;POLYGON((-70.684264 41.8879795,-70.6659898 41.8879795,-70.6659898 41.8741688,-70.684264 41.8741688,-70.684264 41.8879795))",


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Catalog Search</title>
    <script src="Kendo/jquery.min.js" type="text/javascript"></script>
    <script src="kendo/kendo.all.min.js" type="text/javascript"></script>
    <script src="Kendo/console.js" type="text/javascript"></script>
    <script src="SearchCatalog.js" type="text/javascript"></script>
    <link href="Styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
    <link href="Styles/kendo.blueopal.min.css" rel="stylesheet" type="text/css" />
    <link href="Styles/SeachPageStyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
    <div>
        <select id="dropDownList">
            <option>Search</option>
        </select>
    </div>
    <p>
    </p>
    <div id="gridPane">
    </div>
    <script type="text/javascript">
        $(document).ready(function () {
            setup();
        });
    </script>
</body>
</html>

var catalogData;
var catalogGrid;
 
function buildModel() {
    catalogData = new kendo.data.DataSource({
        type: "json",
        pageSize: 5,
        transport: {
            read: {
                url: "http://ysg4206/CatalogService/CatalogService.svc/ViewBoston",
                dataType: "json"
            }
        },
        schema: {
            data: "results"
        },
        error: function (e) {
            alert("data error happened: " + e)
        }
    });
}
 
function layout() {
    $("#dropDownList").kendoDropDownList({
        open: function (e) {
            doSearch()
        }
    });
 
    $("#gridPane").kendoGrid({
        pageable: true,
        scrollable: true,
        height: 250,
        dataSource: catalogData,
        columns: [{
            field: "idx",
            title: "ID"
        }, {
            field: "classification",
            title: "classification"
        }, {
            field: "creator",
            title: "creator"
        }, {
            field: "date",
            title: "date"
        }, {
            field: "elevation",
            title: "elevation"
        }, {
            field: "datum",
            title: "datum"
        }, {
            field: "size",
            title: "size"
        }, {
            field: "type",
            title: "type"
        }, {
            field: "description",
            title: "description"
        }, {
            field: "dirLocation",
            title: "dirLocation"
        }, {
            field: "distributor",
            title: "distributor"
        }, {
            field: "egplDate",
            title: "egplDate"
        }, {
            field: "handling",
            title: "handling"
        }, {
            field: "product",
            title: "product"
        }, {
            field: "bbox",
            title: "bbox"
        }, {
            field: "uniqID",
            title: "uniqID"
        }
		]
    });
}
 
function setup() {
    buildModel();
    layout();
}



Dr.YSG
Top achievements
Rank 2
 answered on 20 Mar 2012
1 answer
1.1K+ views
Is there a way to show line breaks in Kendo Grid cells?

I've tried adding <br /> tags to the content but they are just displayed as text instead of showing up as line breaks.

Any help would be appreciated.
Dimo
Telerik team
 answered on 20 Mar 2012
3 answers
531 views
I would like to Submit my page on click of a button. I am not able to figure out how I could do this, could you please help.

I had added the <form> tags and tried using the JS way of doing the submit:
 function submitform() {
            document.forms["myform"].submit();
        }

But this is erroring out with the JS error
  1. Uncaught Error: Syntax error, unrecognized expression: );
    1. c.querySelectorAll.mjquery-1.7.1.min.js:3
    2. f.fn.extend.findjquery-1.7.1.min.js:3
    3. c.Observable.extend._findViewkendo.all.min.js:9
    4. c.Observable.extend.navigatekendo.all.min.js:9
    5. c.Observable.extend._startHistory.e.changekendo.all.min.js:9
    6. w.extend.triggerkendo.all.min.js:9
    7. kendo.Observable.extend.navigatekendo.all.min.js:9
    8. f.event.dispatchjquery-1.7.1.min.js:3
    9. f.event.add.h.handle.i


I think I am doing something fundamentally wrong. 
Petyo
Telerik team
 answered on 20 Mar 2012
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?