Hello,
Is it possible to add a textbox dinamically, by clicking a button?
I have the following code, and I need to add a textbox, just like the one I already have when click the "Add Button"
01.
<!DOCTYPE html>
02.
<
html
>
03.
<
head
>
04.
<
meta
charset
=
"utf-8"
/>
05.
<
title
>Kendo UI Snippet</
title
>
06.
07.
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.default-v2.min.css"
/>
08.
09.
<
script
src
=
"https://code.jquery.com/jquery-1.12.4.min.js"
></
script
>
10.
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/angular.min.js"
></
script
>
11.
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/kendo.all.min.js"
></
script
>
12.
</
head
>
13.
<
body
>
14.
15.
<
div
>
16.
<
input
id
=
"textbox"
style
=
"width: 100%;"
/>
17.
<
input
type
=
"button"
id
=
"add"
value
=
"Add TextBox"
class
=
"k-button"
/>
18.
</
div
>
19.
<
script
>
20.
$(document).ready(function () {
21.
$("#textbox").kendoTextBox({
22.
placeholder: "email@email.com.br",
23.
label: {
24.
content: "Email",
25.
floating: true
26.
}
27.
});
28.
})
29.
</
script
>
30.
</
body
>
31.
</
html
>
Hi
Do have facility for print(Export to PDF) Gantt chart in to PDF with multiple pages.
One of our client want this feature.
Regards
mamachan
How to truncate chart title if text is too long also once text is truncate show full text on mouse over or show in tooltips.
https://dojo.telerik.com/IRaJuJiH
Hello,
after upgrading my Gantt chart to release 2020 R3 SP1 I noticed a significant performance drop in the chart to the point of it not being snappy enough to give to end users. I have made a simple repro at https://dojo.telerik.com/OjOCEjIm/4 (I hope this links to my custom edit, if not the code is down below to copy paste into a Dojo window). It is a simple Gantt chart where I add 50 summary tasks and 50 child tasks for those.
When running the chart in the dojo under 2020 R2 SP1 the chart loads fast and clicking open a summary task has an almost imperceptible delay. But when switching to 2020 R3 or R3 SP1 releases from the dropdown in the top left, the same chart takes multiple seconds to load and opening of a summary task takes about 1-2 seconds.
I'm in a situation where the data to be displayed in the Gantt sometimes is in the order of 35-50*35-50 tasks. Are there any performance hints I might employ to make the R3 release usable as I would like to use for example the columnMenu option that I believe is only available in R3? Also any and all performance hints are welcome.
If the link up doesn't link to the custom Dojo, here is the code to copypaste:
<!DOCTYPE html>
<
html
>
<
head
>
<
meta
charset
=
"utf-8"
/>
<
title
>Kendo UI Snippet</
title
>
<
script
src
=
"https://code.jquery.com/jquery-1.12.3.min.js"
></
script
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/kendo.all.min.js"
></
script
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.common.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.rtl.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.default.min.css"
>
<
link
rel
=
"stylesheet"
href
=
"https://kendo.cdn.telerik.com/2020.3.1021/styles/kendo.mobile.all.min.css"
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/angular.min.js"
></
script
>
<
script
src
=
"https://kendo.cdn.telerik.com/2020.3.1021/js/jszip.min.js"
></
script
>
</
head
>
<
body
>
<
div
id
=
"gantt"
></
div
>
<
script
type
=
"text/javascript"
>
var gantt;
$(function StartingPoint() {
var ganttDatasource;
this.ganttDatasource = new kendo.data.GanttDataSource();
gantt = new kendo.ui.Gantt($("#gantt"),
$.extend({
columns: [
{ field: "id", title: "ID", sortable: true, editable: false, width: 70 },
{ field: "title", title: "Title", sortable: true, editable: true, width: 100 },
{ field: "start", title: "Start", sortable: true, editable: true, format: "{0:MM/dd/yyyy HH:mm}", width: 100 },
{ field: "end", title: "End", sortable: true, editable: true, format: "{0:MM/dd/yyyy HH:mm}", width: 100 }
],
views: [
"year"
],
listWidth: 300,
height:800,
dataSource: this.ganttDatasource
}, {}));
let tasks=[];
// random tasks
for (p=1;p<
50
;p++) {
tasks.push({id:"p"+p,parentId:null, title:"task", start:new Date(2020, p+1, 1),end:new Date(2020, p+2, 1), summary:true});
for (var
t
=
0
;t<50;t++) {
tasks.push({id:"p"+p+"t"+t,parentId:"p"+p, title:"task", start:new Date(2020, t+1, 1),end:new Date(2020, t+2, 1)});
}
}
this.ganttDatasource.data(tasks);
gantt.refresh();
});
</script>
</
body
>
</
html
>
Hi. I want to disable the 'filter by condition' subsection of the range filters (leaving only the 'filter by value' subsection).
Is there a way to do this?
Thanks.
Hello,
to me it seems the 2020 R3 update breaks a little on (some) custom views. I have a custom view adopted from your documentation at https://docs.telerik.com/kendo-ui/controls/scheduling/gantt/how-to/creating-custom-view. If I open this in the Dojo, the tasks don't line up with the table (see attached file). If I change back to 2020 R2 SP1 release from the dropdown at the top left (and cleanup the stylesheet reference), the tasks once again lineup with the table.
Also the line this.list.header.find("tr").height(height + "em"); that seems to be used to adjust the tasks <> tables gives an error of Uncaught TypeError: Cannot read property 'header' of undefined when I update to the latest release and am running the Gantt in a node.js app. Where can I do the adjusting in a custom view when I update to the latest release?
Hi team
I have a requirement where i need to bind grid as control select column value while adding new record. Is there any such feature in kendo ui jQuery grid?
please find the attachment for reference
Hi,
I updated my project to Kendo UI for jQuery 2020.3.1021 but then all grids stop working on mobile or tablet devices. When downgrading to 2020.3.930 grid works fine.
I have tested on iPad,iPad Pro, Samsung S10.
Easiest way to reproduce the error is to open the demo page here: https://demos.telerik.com/kendo-ui/grid/index in Chrome on a pc and emulate an iPad for ex. Or load that
In the browser console you can see the javascript error: "Cannot read property 'rows' of null".
Hello!
I want to display initial list of files, but I don't want to use 'async' mode.
As I see in the docs, this feature works well in async mode https://docs.telerik.com/kendo-ui/api/javascript/ui/upload/configuration/files
But it doesn't work without 'async' setting https://dojo.telerik.com/UVOmAtIM
Is it bug or not?
Thanks!