Telerik Forums
Kendo UI for jQuery Forum
1 answer
3.7K+ views

I use below code to remove the selected rows in grid. But every time when I click a button to call this method, it only remove one row, not all selected rows. Am I missing something?

 function RemoveRecords() {
            var gridAdditive = $("#gridEdit").data("kendoGrid");
            gridAdditive.select().each(function () {
                gridAdditive.dataSource.remove(gridAdditive.dataItem($(this).closest("tr")));
            });

        };

Georgi
Telerik team
 answered on 02 Sep 2019
5 answers
265 views

I'm searching documentation about kendo Router with pushState=true. 
Using the configuration like:

pushState:true

root:"/"

when I use router.navigate always is fired the routeMissing event. Why?

I think that there isn't enought documentation about how to work with pushState.

Should i use navigate with pushState:true or history.pushState?

Can some write some example ?

Thanks

var router = new kendo.Router({
    pushState: true,
    root: "/",
    init: function(e) {
        debugger
    },
    routeMissing: function(e) {
        debugger
    },
    change: function(e) {
        debugger
 
    }
});
 
router.route("/", function() {
    loadModule("/presentacion");
});
 
 
router.route("/previsiones", function() {
    loadModule("/controls/prv/prv_listadoPrevisiones");
});
Dimitar
Telerik team
 answered on 30 Aug 2019
4 answers
306 views

Hello,

I’m trying to get query string values for a root route but parameters seems to be undefined.

e.g for url : https://mywebsite.com/?test=hello

thanks for your help.

var router = new kendo.Router();
 
router.route("/", function(params) {
    console.log(params); // undefined
});
Dimitar
Telerik team
 answered on 30 Aug 2019
5 answers
2.4K+ views
Hello experts,
I am involve with a project where me have to build up a system in which user will be able to dynamically add / remove columns and merge two or more cells of  Kendo UI grid. So that I tried to find better solution but didn't find any solution in google. Now my question is it is possible in Kendo UI grid. If possible how can I do this? Please suggest me asap.

Note : I am using Asp.net MVC3 and Entity Framework to develop my project.

Thanks in advance
Md. Mojammel Haque
Viktor Tachev
Telerik team
 answered on 29 Aug 2019
1 answer
80 views
How does one establish an enabled or disabled binding to a dropdownlist initialized via the jQuery Plugin Method rather than MVVM?
Nencho
Telerik team
 answered on 29 Aug 2019
9 answers
3.7K+ views
Hi.

I am trying to render image that is brought together on Model with full object.
I know that most people use to render action (make a new request) only for image with Id, but that seems to me too much load just to display an image.

Is there any way that an image can be rendered with model?

My demo with northwind has this
@using Kendo.Mvc.UI
@model IEnumerable<MvcApplication_KendoTest.Data.Employee>
 
<script type="text/x-kendo-tmpl" id="template">
    <div class="employee">

    <img src="${Image}"/>
 
        <h3>${Name} ${Lastname}</h3>
      
 
    </div>
</script>
 
<h2>@ViewBag.Title</h2>
 
@(Html.Kendo().ListView<MvcApplication_KendoTest.Data.Employee>(Model)
    .Name("listView")
    .TagName("div")
    .ClientTemplateId("template")
    .DataSource(dataSource => {
        dataSource.Read(read => read.Action("Index", "Home"));
        dataSource.PageSize(12);
    })
    .Pageable()       
)
On my template I am tryig to render an image of employee. However this renders [object Object].
Can some one help me?...

Thanks in advance
Nencho
Telerik team
 answered on 29 Aug 2019
5 answers
1.2K+ views
Hi,

I would like to make a chart with multiple category axes that are grouped.  So the data might look something like the attached screenshot (data.png).  I want the chart to look similar to the attached Excel chart (chart.png).  I've tried making multiple, independent category axes in Kendo.  The problem is that the labels in the lower axis (the countries in this example) are spaced out equally instead of being grouped with the upper axis labels (the cities).  There may be a different numbers of cities for each country, so spacing them out equally doesn't work.  The long tick marks would be nice, but they're not required.  Mainly, I just need the countries to appear correctly below the cities in those countries, even if there are a different number of cities in each country.  Is there a way to do this in Kendo?

Regards,
Hughes
Teya
Telerik team
 answered on 29 Aug 2019
3 answers
394 views

Hi Guys,

I have been using Kendo UI for our AngularJS Application. The version I am using now is v2015.2.805. Recently I have updated the angular version to 1.4.8. Still the Kendo works fine. Now when I am trying to update the kendo version to v2015.3.930. All the kendo components like kendo-grid etc. doesn't work. And it doesn't give any error in the console too. 

I am basically updating the old kendo.all.js with the new kendo.all.min.js and requiring it as such in my main.js.

 

I can't figure out why this is happening. Is there any dependency issue that I missing? I through direction would be very much helpful for me. Thanks in advance guys.

 

Nencho
Telerik team
 answered on 29 Aug 2019
2 answers
124 views

    I have an issue with  resizable grid columns when the scroll of the page is moved from left to right. 
The columns can be resizable, with the  mouse, ONLY when the scroll has a fixed position, in the left of the grid . 
In case the list has more columns then the scroll, and the scroll is moved to the right, the resizable property is not working. The columns cannot be resizable using drag and drop any more.

Regards, 

   Cristina

Cristina
Top achievements
Rank 1
 answered on 29 Aug 2019
1 answer
147 views

Hi,

I was able to remove the validation method from the gantt. However, when I remove the date, its not making it empty and retaining its old value. Is there any way to be able to remove the date and make it not mandatory? https://dojo.telerik.com/ofUnAdit

 

Thanks!

Petar
Telerik team
 answered on 28 Aug 2019
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?