Telerik Forums
Kendo UI for jQuery Forum
1 answer
127 views
It's posible to bind a HierarchicalDataSource to TreeView, and make Kendo automatically call the transport.create method when a node is appended?

I have made a example code trying to do this, but with no success: http://jsbin.com/alibem/10/edit

Thanks in advance :)
Alexander Valchev
Telerik team
 answered on 02 Apr 2013
4 answers
72 views
steps to produce the issue.
1. open below link.
http://www.kendoui.com/forums/ui/multi-select.aspx
2. search below thread
"Select" event doesn't fire when using keyboard
3. Click on that link.
4. it will redirect to below link.
http://www.kendoui.com/forums/ui/multi-select/-select-event-doesnt-fire-when-using-keyboard.aspx
5. Check attached files. (in this file i am not able to find question)
Niki
Telerik team
 answered on 02 Apr 2013
2 answers
2.4K+ views
Is there a way to have a function called after the Grid (or DataSource for that matter) performs an Update,Destroy, Create ?
I see where there are functions for before the CRUD operation is called, but not for after.  Something like UpdateSuccess or some such.
I need to perform some other functions, but if I do it, the object still exists on the database so any new requests for data will include the object being updated/deleted etc.
Ralph Wally
Top achievements
Rank 1
 answered on 02 Apr 2013
1 answer
752 views
Hi,

I am using the new multiselect widget with server filtering enabled.  The issue that I am facing is that I am not able to retrieve the entered text (using the javascript function onAdditionalData) and send it to the server side for filtering.  Please see example below:

$("#merchants").kendoMultiSelect({
                dataSource: {
                    transport: {
                        prefix: "",
                        read: {
                            url: "GetMerchants",
                            data: onAdditionalData
                        }
                    },
                    serverFiltering: true,
                    filter: [],
                    schema: { "errors": "Errors" },
                    
                },
                placeholder: "Select merchants...",
                dataTextField: "Name",
                dataValueField: "Id",
                filter: 'contains'
                
            });

function onAdditionalData() {

            return {
                text: $("#merchants").value()
            };
        }

Thanks,
Nitesh
Petur Subev
Telerik team
 answered on 02 Apr 2013
7 answers
572 views
The Grid's 'select' event does not appear to fire when rows are 'unselected' after sorting a column. :(

It looks like this has been noticed already; http://www.kendoui.com/forums/ui/grid/change-event-and-row-unselect.aspx

Can this be fixed? Clearly the selection is being changed; this event should fire.
Petur Subev
Telerik team
 answered on 02 Apr 2013
3 answers
189 views
Hi There,

I've wrapped my kendoui mobile application in PhoneGap and created a native application for Windows Phone 8. My issue now is that none of the kendo mobile icons are rendering when I test using tyyhe Windows Phone 8 emulator? I have double checked that all of the tff and woff files are in the correct place along with all the images but it still doesn't. 

Is there something different I need to do to get icons to work and should I being expecting them to?

Finally there is also an issues that all of the views seem to be rendered too high so the top part of headings in the top toolbar are cut off and you have to manually scroll down. This seems to happen after an input has been used and the keyboard appears and then is closed. Is there a way I can fix this?

Thanks,

Rob

Kamen Bundev
Telerik team
 answered on 02 Apr 2013
5 answers
531 views
What does the data of the footer template represent?  I am trying to access some custom properties that I added to the grid.  It would make sense to me that the data parameter in the template function would somehow represent the grid.
If not, is there anyway to get the grid during template processing?  I have a hierarchical grid and need to know which one is rendering when I render the template.

Thanks,
Eric 
Software
Top achievements
Rank 1
 answered on 01 Apr 2013
3 answers
111 views
Hi, when I have a discontinuous/sparse seriies of data (e.g. a date X-axis, and i have 1/1,1/2,1/5,1/6) on a line graph,etc there are 'breaks between the actual values on the 'missing'  day.  Is there an option to have the chart draw the line 'across' the missing values to the next 'dot'?
Iliana Dyankova
Telerik team
 answered on 01 Apr 2013
2 answers
88 views
I have this grid set up.
@model IEnumerable<MyDllClass.Account>
 
@{
    ViewBag.Title = "User Management";
    Layout = "~/Views/Shared/_Layout.cshtml";
}
 
@(Html.Kendo().Grid(Model)
.Name("UsersGrid")
.Columns(columns =>
{
    columns.Bound(currentAccount => currentAccount.FirstName);
    columns.Bound(currentUser => currentUser.LastName);
    columns.Bound(currentUser => currentUser.Email);
    columns.Bound(currentUser => currentUser.Phone1.PhoneNumber).Title("Primary Phone");
    columns.Bound(currentUser => currentUser.Organization);
    columns.Bound(currentUser => currentUser.Address.County.CountyName);
    columns.Bound(currentUser => currentUser.Role);
    columns.Bound(currentUser => currentUser.IsLocked);
    columns.Bound(currentUser => currentUser.AccountLog.LastLogIn);
    columns.Bound(currentUser => currentUser.IsActive).Title("Enabled");
    columns.Command(command => { command.Edit(); command.Destroy(); }).Width(300);
})
.ToolBar(toolbar => toolbar.Create())
.Editable(editable => editable.Mode(GridEditMode.PopUp).TemplateName("AddEditUser").Window(window => window.Width(750)))
.Pageable(pages => pages.PageSizes(true))
.Sortable()
.DataSource(datasource => datasource
    .Ajax()
    .ServerOperation(true)
    .Model(model => model.Id(currentAccount => currentAccount.UserName))
            .Create(update => update.Action("AddAccount", "Account"))
            .Update(update => update.Action("EditAccount", "Account"))
            .Destroy(update => update.Action("DeletAccount", "Account"))
    )
  )
 
<script type="text/javascript">
    $(document).ready(function () {
        var grid = $('#UsersGrid').data("kendoGrid");
        if (!grid)
            console.log("Nothin");
        else
            grid.bind("edit", function (e) {
 
            });
    });
</script>
When I try to edit or add I get the following jquery/javascript error:
 Uncaught TypeError: Cannot call method 'center' of undefined
Chrys
Top achievements
Rank 1
 answered on 01 Apr 2013
1 answer
124 views
The direction of the sliding transitions in kendo mobile is all messed up when you have  3+ tabs.

The direction of the page transition should always correspond to the relative position of a newly selected tab button in relation to the previously selected tab button.  If a newly selected tab button is to the right of the previously selected tab button, the transition should be from right to left.  If a newly selected tab button is to the left of the previously selected tab button, the transition should be from left to right.  

But in kendo mobile say you have a TabStrip with three tabs (from left to right), call them A, B, and C.

The app initializes with tab A selected.  If you click tab B, the page transition moves from right to left (correct).  Then if you click tab C, the page transition moves from right to left (correct).  Then if you click on tab A, the page transition moves from right to left (INCORRECT).
Petyo
Telerik team
 answered on 01 Apr 2013
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?