Telerik Forums
Kendo UI for jQuery Forum
0 answers
258 views
Problem: Grid contents after refresh
Context: Grid backed by a JSON remote service -- Python Django + Tastypie

Steps to Reproduce:
1. Setup your data feed such that based on the pageSize that the last page only contains one item. 
2. Initialize your kendo grid 
3. Delete the item on the last page. 
4. Refresh the Kendo Grid
[code]

function refreshKendoGrid(gridId) {

var grid = $(gridId).data("kendoGrid");

//reload grid's datasource

grid.dataSource.read(); 

// refreshes the grid

grid.refresh();

}
[code]

5. Grid shows no entries within the k-grid though the page number is set to correct page (page 1, prior to item deletion there were 2 pages)

 
Steve
Top achievements
Rank 1
 asked on 01 Aug 2012
0 answers
77 views
I'm using the function Json to serialize a Linq query, and on the client side I'm got this result for dates:  "/Date(1343800800000)/" 

How can I tell the grid this is a date?, and more important, how can I fllter it?

I know I can use templates to display the date, but I can't use filters
Alejandro
Top achievements
Rank 1
 asked on 01 Aug 2012
5 answers
511 views
I tried your demo on this web where it show how date picker can do globalization. When I changed culture to Thai, the year incorrectly showed Buddhist year (2555). Is there a way to fix this?
Georgi Krustev
Telerik team
 answered on 01 Aug 2012
1 answer
103 views
If we have a table, and the rows (tr) are each are bound to a function off of "visible"...how do you handle that in the function itself

The TR looks like this

<tr data-mf="3" data-bind="visible: isSelectedMF">

...so in that function is there any way to get that "3" from the data-mf element?
Atanas Korchev
Telerik team
 answered on 01 Aug 2012
1 answer
478 views
Hi All,

I have a datasource that is defined and under a specific circumstance i need to run a function after a read() is completed.

Is something like this possible:

dsCommodities.read(function () {
                //do stuff
            });


I have the ds defined normally but need to dynamically execute a function for one particular read scenario. thanks!
Rich
Top achievements
Rank 1
 answered on 01 Aug 2012
6 answers
352 views
Please help me. I encountered a very strange behavior of the kendoDateTimePicker widget.

When i'm using kendoDateTimePicker widget as editor in kendoGrid, and click on clock icon, this widget show me string "01.01.1900" before time part in drop-down list (see attached picture).

For example:
   ...
"01.01.1900 4:30"  instead of  "4:30"
"01.01.1900 5:00"                    "5:00"

  ...

My source code is:

<div id="grid"></div>
 
<script type="text/javascript">
    $(document).ready(function () {
 
        kendo.culture("ru-RU");
 
        var dataSource = new kendo.data.DataSource({
            transport: {
                read: { url: "http://localhost:6356/admin/GetUnitTogglesList" },
                update: { url: "http://localhost:6356/admin/UpdateUnitToggles" },
                destroy: { url: "http://localhost:6356/admin/DeleteUnitToggles" },
                create: { url: "http://localhost:6356/admin/CreateUnitToggle" }
            },
            batch: true,
            schema: {
                model: {
                    fields: {
                        Date: { type: "date" },
                        UnitId: { type: "number" },
                        Connect: { type: "boolean" }
                    }
                }
            }
        });
 
        dataSource.read();
 
        $("#grid").kendoGrid({
            dataSource: dataSource,
            navigatable: true,
            pageable: false,
            sortable: true,
            toolbar: ["create", "save", "cancel"],
            columns: [
              { field: "Date", title: "Date", template: '#= kendo.toString(Date, "dd.MM.yyyy H:mm") #', editor: timeEditor },
              { field: "UnitId", title: "Unit" },
              { field: "Connect", title: "Status" }
            ],
            editable: true
        });
    });
 
    function timeEditor(container, options) {
        $('<input name="' + options.field + '"/>')
            .appendTo(container)
            .kendoDateTimePicker({
              format: "dd.MM.yyyy H:mm",
              timeFormat: "H:mm"             
            });
    }
</script>
Eugeny
Top achievements
Rank 1
 answered on 01 Aug 2012
0 answers
105 views
hi all,

i was trying to retrieve boolean value from database and display in a list view..
for that i want to design a checkbox,for that checkbox i have to keep a
star image,when i click on star it has to update the value in database and
retrieve list in listview..please have a look at this screen shot for better idea..
please help me out..
Pujita
Top achievements
Rank 1
 asked on 01 Aug 2012
1 answer
95 views
Hey,
Is there a way to use the themebuilder to customize the appearance of the kendo mobile widgets? We are developing an app and we would like to give our users the ability to change themes.
Thanks!
Kamen Bundev
Telerik team
 answered on 01 Aug 2012
1 answer
198 views
I'm making an app for my employer that was originally intended to be made with jQuery Mobile. However JQM didn't satisfy our need for smooth animations, so I'm switching to Kendo UI Mobile.

When working in JQM, there was a "theme roller" making it easy for me to add custom styles to buttons, navbars and footers. Is there a similar tool for Kendo, or what is the easiest way to change the color-scheme so that headers, footers and buttons are gradient red?

Update:
I've managed to style the header and the footer/tabstrip. But the icons and the text underneath the icons are gray. How can I force them to be white? (See screenshot)
Kamen Bundev
Telerik team
 answered on 01 Aug 2012
1 answer
181 views
Hi - Is there an OpenOnFocus equivalent from the legacy MVC extensions to the Kendo UI for the combo box?

Thanks,

Jeff
Georgi Krustev
Telerik team
 answered on 01 Aug 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?