Telerik Forums
Kendo UI for jQuery Forum
1 answer
307 views
Hi,

we've built a two-column grid where only the cells in the second column should be editable.
The text in the cells of the first column cannot be edited, but the row can be selected as well as the cells in the first column can be accessed by mouse and keyboard which is very annoying as the should be ignored when navigating by keyboard and not selectable by mouseclick.

They should behave like let's say a cell in the table header as it cannot be clicked and selected.

Is there a way to achieve this?

I've enclosed a screenshot to describe in detail what the problem is... the column with the red arrow is not editable und should therefore be not selectable and thus white,  and the cells in the red brackets are editable.

Cheers,
Heike
Dimiter Madjarov
Telerik team
 answered on 31 Jan 2014
3 answers
84 views
Hi,

I need to be able to diagram relational objects and would obviously prefer to stay within the Telerik fold for consistency sake but I can't find a means of showing relationships between objects (like in the attached image - example from here http://familyshow.codeplex.com/).  I need to be able to customise the lines representing the relationships and also customise the object shapes and appearance (i.e. similar to RadDiagram).

I need to be able to provide this functionality web-based and on any device.

Are there any plans to provide this functionality either with Kendo UI or with the web-based RadControls?

If not, can we get something added to the road map.

If not, does anyone have any ideas how I can deliver on this requirement?


Thanks,
Martyn
Sebastian
Telerik team
 answered on 31 Jan 2014
1 answer
113 views
Hello, I´m new using kendo mobile and I´m trying to invoke a wcf rest service, using xml.

For instance, this login invocation:
            
             var username = "admin";
             var password = "admin";

             var remoteDataSource = new kendo.data.DataSource({
                type: "xml",
                schema: {
                    type: "xml",
                    data: function (response) {
                        return response;
                    }
                },
                transport: {
                    read: "http://localhost/MyService.svc/Security/Login?" +
                        "user=" + username + "&password=" + encrypted,
                    success: function (result) {
                        options.success(result);
                    },
                    error: function (result) {
                        options.error(result);
                    }
                }
            });

            remoteDataSource.fetch();

Where service response has this structure:

<UserData>
    <IsSuccess>true</IsSuccess>
</UserData>

That code is executed in a button event and when debugging, success and error functions are never reached.
This call remoteDataSource.fetch() raises an unhandled exception: "Javascript exception: object has no method 'slice'"

Any help is appreciated about using DataSource when response is xml data.

Thanks in advance.
Kiril Nikolov
Telerik team
 answered on 31 Jan 2014
1 answer
93 views
Is there a way to get the drawer to swipe up from the bottom rather than the sides?
Kiril Nikolov
Telerik team
 answered on 31 Jan 2014
3 answers
138 views
I am trying to create a view with vertical list of resources but with a horizontal time line is this possible?

group: {
    resources: ["Rooms"],
    orientation: "vertical"
  },  //this makes resources as well as timeline vertical

Example below
                                                      tue 10 september
                             12am |1am|2am|3am|4am|....................
Resource a
Resource b
Rosen
Telerik team
 answered on 31 Jan 2014
3 answers
77 views
scheduler.view().name for "workWeek" is showing undefined. All other views are working fine. Please advise
Rosen
Telerik team
 answered on 31 Jan 2014
1 answer
112 views
Hi,

I am using the latest version of Kendo DataViz: 2013.3.1324

If I use whitespace or - in my charts field names all I get is errors. For example, my data looks like this (Chome log of datasource):

19: ct.extend.init
20: ct.extend.init
Bandwidth IN: 8.9
Bandwidth Out: 3.96
_events: Object
err-line: 30
name: 1390908600000
parent: function (){return r}
uid: "eb22f21c-41b7-47de-af24-8f4a86aa4a58"
__proto__: i


I get this error:

ReferenceError: line is not defined
at eval (eval at <anonymous> (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:9:28980), <anonymous>:3:15)
at g (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:15:31102)
at fn.extend._bindFromObject (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:16:18853)
at fn.extend.bindPoint (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:16:18380)


If I change err-line to errline I get this error:

SyntaxError: Unexpected identifier
at Function (native)
at ht.getter (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:9:28980)
at g (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:15:31086)
at fn.extend._bindFromObject (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:16:18853)
at fn.extend.bindPoint (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:16:18380)
at Object.an._bindPoints (http://192.168.99.30/kendo-2013.3.1324/js/kendo.dataviz.min.js:19:19572)


If I remove any other data except errline, the chart draws.

Is it possible to get a fix for this?



Alexander Popov
Telerik team
 answered on 31 Jan 2014
2 answers
72 views
hello I'm adding dynamic tabs but I do not see the tab   bottom line
navbar click >> add dynamic tab

navbar menu

Crew Click
Documant Click


code

function SetMasterTab(tabName) {
 
    var dynamicTab = "";
    var node = "";

    var value = document.getElementById("tabstrip");

    if (value === null) {

        dynamicTab += '<div id="forecast">';
        dynamicTab += '<div id="tabstrip"></div>';
        dynamicTab += '</div>';
        $('div#ActivePageContent').append(dynamicTab);
    }
 
            node += '<ul>';
            node += '  <li class="k-state-active">' + tabName + '</li>';
            node += '</ul>';
      
        node += '<div class="' + tabName + '">test tes tests <br/> TEST TEST TEST</div>';
         
        $('#tabstrip').append(node);
       
    }

    $("#tabstrip").kendoTabStrip({
        animation: {
            open: {
                effects: "fadeIn"
            }
        }
    });
}

serdar
Top achievements
Rank 1
 answered on 31 Jan 2014
2 answers
234 views
I'm re-posting this as a separate issue from the one I've been working on with Petur.  I have a kendo grid, actually a sub-grid, for which I've defined a command button.  In the button I need to use a property from the master grid, which is no problem, and a property from the current row of the sub-grid where the button will be clicked.  The syntax for this is not working out, and I have not been able to find an example either of multiple parameters, nor of using a property of the current row in such a manner.  I get an error that the current row property is not defined when the page renders.  I need to sent both properties to the controller which will redirect to the proper CRUD view.  I've tried two different syntaxes.  Code is shown below.  The first example will render but lacks the critical second property.  Petur has a sample project from me that these buttons could be dropped into for you to see the problem.  The project is called TriLevel PolymorphicGridTest.

@model IEnumerable<kendoBatchHeaderTest.Models.BatchHeader>
 
@{
    ViewBag.Title = "Transaction Review";
}
 
<h2>Batches to Review/Post</h2>
 
@(Html.Kendo().Grid(Model)
    .Name("BatchGrid")
    .Pageable()
    .Sortable()
    .Scrollable()
    .HtmlAttributes(new { style = "height:700px" })
    .Columns(columns =>
                {
                    columns.Bound(b => b.BatchID)
                                        .Width("100")
                                        .Title("Batch ID");
                    columns.Bound(b => b.Created_DTTM)
                                        .Width("175")
                                        .Format("{0:MM/dd/yyyy hh:mm tt}")
                                        .Title("Created");
                    columns.Bound(b => b.PostingStatus)
                                        .Width("175")
                                        .Title("Status");
                }
            )
    .DataSource(dataSource => dataSource
        .Ajax()
        .PageSize(40)
        .Read(read => read.Action("FetchBatchCollection", "Home"))
    )
    .ClientDetailTemplateId("transactions")
    //.Events(events => events.DataBound("dataBound"))
)
 
<!-- Nested grid for transaction object, member of BatchHeader.TranCollection
     There can be many ITransaction objects per BatchHeader -->
<script id="transactions" type="text/kendo-tmpl">
    @(Html.Kendo().Grid<kendoBatchHeaderTest.Models.Transaction>()
            .Name("TranGrid_#=BatchID#")  // makes the sub-grid name unique so that it will be displayed on each child row.
            //.Pageable()
            .Sortable()
            .Scrollable()
            .HtmlAttributes(new { style = "height:175px; width:800px" })
            .Columns(columns =>
                {
                    columns.Template(@<text></text>)
                                       .ClientTemplate("<a href='" +
                                       Url.Action("Edit", "Home") +
                                       "/#=BatchID#'>Edit</a>")
                                       .Width("100px");
                    columns.Template(@<text>@Html.ActionLink("View Details", "Edit", "Home",
                                        new { BatchID = "#=BatchID#", TransactionID =  "=#TransactionID#" }, null)</text>)
                                        .Width("100px")
                                        .ClientTemplate("<a href='/Edit/Home/#=BatchID#/=#TransactionID#</a>");
                    columns.Bound(b => b.TransactionID)
                                        .Width("100")
                                        .Title("Transaction ID");
                    columns.Bound(b => b.TranactionType)
                                        .Width("200")
                                        .Title("Type");
                    columns.Bound(b => b.PostingMessage)
                                       .Width("600")
                                       .Title("Posting Message");
                }
                    )
                    .DataSource(dataSource => dataSource
                        .Ajax()
                        .PageSize(5)
                        .Read(read => read.Action("FetchTransactionCollection", "Home", new { batchID = "#=BatchID#" }))
                    )
            //.ClientDetailTemplateId("detailTransactions")
            //.Events(events => events.DataBound("dataBound"))
                    .ToClientTemplate()
            )
Richard
Top achievements
Rank 1
 answered on 31 Jan 2014
1 answer
80 views
Hi ,

   I have use Drop down in Grid view its perfect working with Inline but not working with Pop Up mode. also i have create sap rate edit template but its also not call.
and also how to use j query validation on grid Column.

Thanks
Sandip Patel
Alexander Valchev
Telerik team
 answered on 30 Jan 2014
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?