Telerik Forums
Kendo UI for jQuery Forum
2 answers
319 views

All I am using is treeview -

works fine with kendo.all.min.js (locally and CDN) but that is 3+Mb and slows down my page load

when I only use kendo.treeview.min.js  I get " TypeError: window.kendo is undefined"

What are the min js files needed

 

Benny
Top achievements
Rank 1
Iron
 answered on 27 May 2021
0 answers
218 views
I've been attempting to implement the Kendo UI (for jQuery) map control. Tiles are not rendered from either OpenStreetMap or VirtualEarth (the Bing option). I've tried both. First with my own logic, and then by copying and pasting your own example code (https://demos.telerik.com/aspnet-mvc/map/bubble-layer?_ga=2.88536155.1774956126.1621871162-136915403.1611250038) into my page. If I use developer tools, I can see that the .png tiles are indeed downloaded, but they aren't rendered in the browser. I've attached a screencap of your page example rendered and what the same code renders locally.

I came across this post (https://feedback.telerik.com/winforms/1448367-radmap-openstreetmap-provider-does-not-follow-the-latest-openstreetmap-tile-usage-policy-requiring-useragent-header) and though it pertains to WinForms and WPF, thought it likely that the issue in the Kendo UI library maybe related.

I've tried both http and https as well as localhost environment and a public web server to no avail. The version I'm running is 2020.2.513. I lean towards thinking it's something that's been corrected but not in the version we're running.

I'd appreciate any insight you can offer or ideas!
Charlie
Top achievements
Rank 1
 asked on 27 May 2021
1 answer
258 views

Please see my sample code here: https://dojo.telerik.com/@bjoler/AKUMUroY

I don't want a verticle scrollbar in the grid, so I set the 'scrollable=false' on the grid.

But that seems to affect the footerTemplate that I want to merge some of the cells.

Is there a way to solve this?

Neli
Telerik team
 answered on 27 May 2021
1 answer
154 views

Hi,

I have a combbox where the choices are driven by a remote datasource as follows:

main.php
-----------------------
<script>
var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: "select_data3.php?type=123",
            dataType: "json"
        }
    }
});

$("#event_id").kendoComboBox({
    dataTextField: "Text",
    dataValueField: "Value",
    filter: "contains",
    dataSource: dataSource,
    placeholder: "Select a product",
});
</script>

<select id="event_id" style="width: 450px;">
</select>

 

select_data3.php
-----------------
<?php header('Content-Type: application/json');?>
[{"Text":"AUT","Value":"Austria"}, {"Text":"BEL","Value":"Belgium"}, {"Text":"BGR","Value":"Bulgaria"}]


It's unable to load remote data into combobox


And i had tried to
1. copy http://dojo.telerik.com/IzAWU to my localhost
2. download //demos.telerik.com/kendo-ui/service/Products to local folder
3. It's good for execute step1 directly
4. Show nothing, when i modify params to "//localhost/test/Products" and "json"


Neli
Telerik team
 answered on 27 May 2021
1 answer
1.0K+ views
How can I limit the number of files to upload with the Kendo UI Upload widget?  
Martin
Telerik team
 answered on 27 May 2021
1 answer
640 views

When using the filemanager's upload button to upload the files, everything works correctly. The files uploaded show on the list and I can see when the file upload is complete.

But if I drag and drop the files into a folder, the files are also uploaded, but I don't see the list of files, if these are large files, I can not tell when the transfer is complete.

How can I make the  filemanager display the show the list of files uploaded when a drag and drop happens?

 

Neli
Telerik team
 answered on 27 May 2021
4 answers
151 views

Following the starting instructions (Running the API and Sample Apps) installed the npm packages. 

In the course at the 2:57 mark, it shows 2 vulnerabilities, 1 medium and 1 high.  When I ran the install it showed 7 vulnerabilities (1 low, 2 moderate, 4 high). Ran the audit (audit.txt in attached .zip file) and then ran npm audit fix --force. (see npmauditfix.png in attached .zip file)

When I tried to start the app, got an error.  (see npmstarterr.png in attached .zip file)

I got around things by deleting the folder and reinstalling so not a high level issue.

 

I'm not familiar with node and all the components so somewhat concerned about the vulnerabilities. 

Should the course files be updated? 

Nencho
Telerik team
 answered on 27 May 2021
1 answer
139 views

Hi,

I have a task with long name and after exporting it to pdf, name is shown partially.

I tried to change width of the column before exporting and reset it after it:

let columns = $("#gantt").getKendoGantt().options.columns; columns[3].width = 1500; $("#gantt").getKendoGantt().setOptions({columns: columns}); outerThis.gantt.saveAsPDF();

but it broke my gantt chart, because I have other methods in databound and databinding which resets after setOptions.

 

I also tried to change height of my rows, but it broke dependencies like shown in Screenshot(120).

 

How can I solve this problem? Is there any way to change only the width of the column without changing other things?


Thanks 

Ianko
Telerik team
 answered on 27 May 2021
1 answer
139 views

Hi,

I have a Gantt with a big data (3 years) and after exporting to pdf it is cropped. Is there any limitation and how can I solve this problem??

 

Thanks

Veselin Tsvetanov
Telerik team
 answered on 27 May 2021
1 answer
1.4K+ views

We have two grids in our site that have a custom command button declared similarly to this:

columns.Command(cmd => cmd.Custom("Unaudit").Click("unaudit")).Width(60);

unaudit is a javascript function.  Works ok but inside unaudit we have to jump through hoops to get the data we want, the id of the record in that grid row.


        var id = this.dataItem($(e.currentTarget).closest("tr")).ID;

Is there a way to access the data object and pass just a field to the javascript function?
example (not working)

columns.Command(cmd => cmd.Custom("Unaudit").Click("unaudit(data.ID)")).Width(60);

Help is appreciated.  Thanks.  Note that if i am required to use a client template column instead, i do know how to do that but was hoping i wouldn't have to do that.

 

Anton Mironov
Telerik team
 answered on 26 May 2021
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Drag and Drop
Application
Map
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?