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

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. 
08. 
09.    <script src="https://code.jquery.com/jquery-1.12.4.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>

Stoyan
Telerik team
 answered on 05 Nov 2020
1 answer
277 views

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

Ivan Danchev
Telerik team
 answered on 04 Nov 2020
1 answer
183 views

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

Tsvetomir
Telerik team
 answered on 04 Nov 2020
2 answers
134 views

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>
</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>
Rami
Top achievements
Rank 1
Veteran
 answered on 04 Nov 2020
2 answers
117 views

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.

 

Callam
Top achievements
Rank 1
Veteran
 answered on 03 Nov 2020
6 answers
1.1K+ views
Currently the multiselect widget gets wrapped in a div, causing it to move to a newline. Other similar widgets like the dropdownlist do not. Is there a way I can make the multiselect widget not move to a newline?

I tried setting the display to be 'inline-block', but then it shifted the multiselect to be 'hovering' above the available data.

http://imgur.com/GiQURfS
Stoyan
Telerik team
 answered on 02 Nov 2020
2 answers
66 views

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?

 

Rami
Top achievements
Rank 1
Veteran
 answered on 30 Oct 2020
1 answer
117 views

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

Georgi Denchev
Telerik team
 answered on 29 Oct 2020
3 answers
371 views

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".

 

 

Douglas
Top achievements
Rank 1
Iron
 answered on 29 Oct 2020
1 answer
131 views

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!

Bill
Top achievements
Rank 1
 answered on 29 Oct 2020
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?