Telerik Forums
Kendo UI for jQuery Forum
1 answer
247 views
I have defined a grid as follows...
            $("#grid").kendoGrid({
                dataSource: {
                    data: result.d,
                    schema: {
                        model: {
                            fields: {
                                ClientID: { type: "string" },
                                ClientName: { type: "string" },
                                ClientIndexRating: { type: "number" },
                                ChrgKPI: { type: "number" },
                                PymtKPI: { type: "number" },
                                RevKPI: { type: "number" }
                            }
                        }
                    }
                },
                navigatable: true,
                scrollable: true,
                sortable: {
                    mode: "multiple"
                },
                groupable: true,
                resizable: true,
                filterable: true,
                reorderable: true,
                selectable: "row",
                columns: [
                    {
                        field: "ClientID",
                        title: "Client ID",
                        width: 100
                    },
                    {
                        field: "ClientName",
                        title: "Client Name",
                        width: 300
                    },
                    {
                        field: "ClientIndexRating",
                        title: "Rating",
                        width: 100
                    },
                    {
                        field: "ChrgKPI",
                        title: "Charges vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    },
                    {
                        field: "PymtKPI",
                        title: "Payment vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    },
                    {
                        field: "RevKPI",
                        title: "Revenue vs. KPI",
                        width: 100,
                        format: "{0:n2}"
                    }
                ]
            });
        }

I would like to add two columns that would pass data from the current row to a function and which would in turn go get something and then stuff it into the correct row/column.  How do I go about doing this?

Thanks,
Andy
Petur Subev
Telerik team
 answered on 10 Jul 2012
1 answer
68 views
See sample web page here, why is there extra space at the top of the first and last page, yes, all the other pages are just fine....? Thanks in advance!
Kamen Bundev
Telerik team
 answered on 10 Jul 2012
1 answer
128 views
I have a datasource with a read transport that specifies a function for setting some data. This works fine until I added the parameterMap function for specifying different data used on an update. Now, the parameterMap function is used, which returns null for reads, and the transport read data is not used at all. Is there a workaround so I can use both?
Rosen
Telerik team
 answered on 10 Jul 2012
2 answers
138 views
Hi,

I downloaded the examples from the website. The SplitView demo does not seem to be working (tested in Chrome of Firefox). It is only displaying the left hand panel and not the right. Please see the attached screen shot. Have tried to copy the example online but gives the same problem. 

How do I fix this?  

Thanks


Lee
Top achievements
Rank 1
 answered on 10 Jul 2012
0 answers
72 views
Hi all,

I am new to the kendo.I am creating some samples using it.I just want to know how to implement slider in a asp.net grid. I want to have three columns as sliders . In addition to that how can I get the values?

Kindly help me.

Thanks in advance

Regards,
Devanand.
Devanand
Top achievements
Rank 1
 asked on 10 Jul 2012
1 answer
38 views
Hello,

There seems to be an issue regarding the batch editing feature on the iPad. For the fields of type "string", when tapping the cell, the editable input does not appear. The "number" fields work fine but the booleans do not work either.

You can test this bug on the official demo http://demos.kendoui.com/web/grid/editing.html (with and iPad)

Will this bug be fixed soon, or is there any workaround for fixing this problem?

Thank you
Chris Foster
Top achievements
Rank 1
 answered on 09 Jul 2012
5 answers
248 views
I have a datasource defined where everything is of type:'number' when I plot my dataseries I get the attached graph.  Why is the chart package allowing multiple numbers to be placed not in order on the x-axis?  It should start with -.002 and then progress right in a linear evenly-spaced order, what I am I missing?
Iliana Dyankova
Telerik team
 answered on 09 Jul 2012
1 answer
81 views
I have a chart where I needed to rotate the labels (since I couldn't figure out how to wrap long lines, please add this), however one label is only three characters long, and so it centers on its column, while the rest are longer labels and align themselves to the left of their columns. Anyway to make this consistent?
Iliana Dyankova
Telerik team
 answered on 09 Jul 2012
3 answers
647 views
I really like the automatic grid celll/row editing provided by 
editable: 'inline' | 'popup'

Is there a way to have the 'add new record' action use popup, and the 'edit existing row' action use inline ?

Thanks,
Richard
Jahn
Top achievements
Rank 1
 answered on 09 Jul 2012
2 answers
84 views
I have a datagrid inside a Kendo Mobile app.
I am able to populate the grid with data on the initial page view but subsequent views continue to "add" to the datasource array dispite (all) my efforts to clear it prior to binding.

I am using AJAX(obviously) and during my onSuccess callback, I clear the original source varable (array) ,
then set it to the data returned from ajax and finally call my loadGrid routine to define the KendoGrid.
I have even tried passing in the refreshed data array but I know it is still bound to the grid itself.

I have also tried setting the grids datasource to null, and [] but it just keeps appending data and doesn't clear it.
I can see my grids pager goping from 5 pages to 10.
Is there a simple way to remove the data / binding?

here is psuedo code:

var CustData = [ ];

function onSuccess(data,status)
{
CustomerData.length=0;
CustomerData = [];
CustomerData = data.d;
loadgrid(CustomerData );    
}

function loadGrid(custData) {
  $("#grid").kendoGrid({ { data: [ ] }  }); // futile attempt to clear


    $("#grid").kendoGrid({
              { data: custData, pageSize: 20 }
               // dataSource: new kendo.data.DataSource({data: custData})
          });
}
Don
Top achievements
Rank 2
 answered on 09 Jul 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?