Telerik Forums
Kendo UI for jQuery Forum
3 answers
83 views
The latest internal build broke the support that was just added for having  a DropDownList editor in the grid.  Now, now matter how you click on the dropdownlist, it does not activate / open so you can't choose a value.

Even when the DropDownList was rendering perfectly in build 1407, the sample code provided wouldn't actually bind to the grid data for updates, only for the current value.  Any help is appreciated.  Using this code as directed by Kendo UI support:
{
    field: "LoanStatus_ID",
    editor: loanStatusEditor,
    template: "#=LoanStatus#",
    title: "Status this Month"
},

Combined with this...

function loanStatusEditor (container, options) {      
    $('<input name="'+ options.field + '"/>')
        .appendTo(container)
        .kendoDropDownList({
            change: function() {
                 
            },
            dataTextField: "LoanStatus",
            dataValueField: "LoanStatus_ID",
            dataSource: {
                type: "json",
                transport: {
                    read: {
                        url: "@Url.Content("~/LoanBalance/LoanStatusDropDown")"
                    }
                }
            }
    });       
}

Before the breaking change, this theoretically mostly worked, with the exception of the specification of the Template for the column.  That just throws a javascript error because it can't find the LoanStatus field.  My assumption was that there was some magic in the editor binding but that does not appear to be so.  If I change the template to read the current LoanStatus directly from the dataset (which i'm also returning there), it displays renders intiially, but after any change from the dropdown field, it still only displays the old value from the dataset (which isn't surprising).

So, the questions are:

a)  Can you please undo whatever you did to break DropDownList support from the last build to this one?
b)  Can you provide some clue as to how to best template that DropDownList editor column so that it displays the updated data after a Change?
Georgi Krustev
Telerik team
 answered on 23 Feb 2012
1 answer
112 views
Dropdown with standard configuration

http://jsfiddle.net/UtQuG/7/ 

  • IE8 with zoom 100% works OK
  • IE8 with zoom 125% it is broken
  • IE9 works OK
Kamen Bundev
Telerik team
 answered on 23 Feb 2012
5 answers
106 views
Hello,

I really like the new Telerik web site. I especially like the dropdown menu that's at the top!

Are any of the methods / controls you're using to produce the new site available in the new Kendo tools? Perhaps some demos?

Please let us know!

Nice work!

~ Dave
Pavel
Telerik team
 answered on 23 Feb 2012
0 answers
152 views
Hello,

I have an application that uses the JQuery layout plugin (http://layout.jquery-dev.net/documentation.cfm). I am using this plugin to provide a footer throughout my application. On one of my screens, I need to use a Kendo Grid. This Grid needs to use all remaining space above the footer. My grid may have thousands of records.Has anyone been able to have a Kendo Grid fill a remaining space? I can't seem to get it to work.

Layout seems to be a bit of a hassle with Kendo. Am I the only one with these issues?
JQuery
Top achievements
Rank 1
 asked on 23 Feb 2012
2 answers
108 views
Hey!

First of all great product!

I have run into a small problem with the sorting of the data inside the grid.

I fetch the data using WCF Data Service and custom functions to filter the data.

A function could look like this:
<WebGet()> _
Public Function Search(price As Integer) As IQueryable(Of tblCustomers)
 
    Dim context As OnlmCRMEntities = Me.CurrentDataSource
 
    Try
 
        Dim customers = From c In context.tblCustomers
          Where c.fldActive = True _
          And c.tblCustomerProducts.Any(Function(s) s.fldPrice = price And s.fldActive = True)
          Order By c.fldEmail
          Select c
 
        Return customers
    Catch ex As Exception
        Throw New ApplicationException("An error occurred: {0}", ex)
    End Try
End Function

I have also used the Data Service JSONP extension (http://archive.msdn.microsoft.com/DataServicesJSONP ) to make it work as described in many posts.

Everything works as intended except the "Order By c.fldEmail" in my Search Function.
The output will always be ordered by the id field when it's converted to JSON.
I know i can add $orderby to sort it but this is not the functionality i'm looking for as i might want to sort data based on related tables in the database.

What is causing this and how do I fix it?

This is my kendo datasource - works as intended:

dataSource: {
            type: "odata",
            transport: {
                read: pathname + "/model/WcfData.svc/Search?price=6000"
            },
            pageSize: 20,
            serverPaging: true,
            serverFiltering: true,
            serverSorting: true
        }

A small bonus question :)
Is it possible to sort by a column at load? (not really important if i can get above to work)

Best regards and thanks in advance!

Stefan
Stefan
Top achievements
Rank 2
 answered on 23 Feb 2012
1 answer
559 views
Hey,

I am trying to prevent users from uploading exe's || zip's, I am calling the below script on the select event .

this.onSelect = function(e) {
$.each(e.files, function(index, value) {
                if(value.extension=='.zip' || value.extension=='.exe') {
                    e.preventDefault();
                    return;
                }
}
}

This prevents the file from appearing in the file list but if I do a submit the zip's are going to the server. I could see input type 'file' elements are getting created even though filelist is not displaying the same. Whats the way around for this
T. Tsonev
Telerik team
 answered on 23 Feb 2012
2 answers
164 views
Can you bind the detail template outside the grid easily?  Everything I've tried ends up putting the details in the grid.  Would be nice to have a grid, then on row click, show the row details in a tabstrip or other whatever outside of it.   For instance, have two columns, the first with a grid, the second with row details.

An example of this would really open up my use of KendoUI.
Clint
Top achievements
Rank 1
 answered on 23 Feb 2012
4 answers
119 views
Hi,
Telerik team 

In your samples (Grid - Binding local data) filter crush when I adding both conditions to two columns. 

Thanks
Igor
George
Top achievements
Rank 1
 answered on 23 Feb 2012
1 answer
135 views
The Grid "basic usage" demo has bugs in IE8 or IE9 Compatibility View.  Specifically:
  • The column headers are blank and no text is visible
  • The paging control only shows one page, while the demo normally shows 5 pages
See the attached screenshot for more details.
Dimo
Telerik team
 answered on 23 Feb 2012
1 answer
208 views
Hi,
Can you please let us know when the Kendo Web UI Grid will have "Auto Filter row"?

Regards,
Krishna
Rosen
Telerik team
 answered on 23 Feb 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?