Telerik Forums
Kendo UI for jQuery Forum
0 answers
200 views

Hi,

We have a grid with a cell where you can upload a file. we use javascript and JQuery.

The user uploads the file using Chrome and the file is saved properly into the database and the grid is refreshed. If the user tries immediately to download the file it takes more than 30 minutes to be downloaded and if you try to close the Chrome window you get a browser message that there is "downloading in progress".   

Could someone explain this strange behavior? is it something that has to do with the kendo grid? If the user closes the chrome window as soon as the file is uploaded and saved and then opens a new window and tries to download, the file is downloaded immediately!

This strange behavior described above does not occur in Firefox.

Any hint is very much appreciated!

Nick

Nick
Top achievements
Rank 1
 asked on 12 Aug 2022
1 answer
536 views

Hello

how can I bind to the Click-Event of zoomIn or zoomOut for the standard zoom toolbar or PdfViewer ?

Somehow similar to 

var pdfViewer = $("#pdfviewer").data("kendoPDFViewer");
pdfViewer.toolbar.zoom.combobox.bind("change", onChangeZoom_Pdf); 

Regards

Christine

Martin
Telerik team
 answered on 12 Aug 2022
1 answer
214 views

my application uses kendo version 2017.3.1026 

In my application I have user name DOM in UI,  

I want to use kendo tooltip to show user details .

the user details will be dynamic and coming from server.

how can I achieve this.

Thanks in advance.

Martin
Telerik team
 answered on 11 Aug 2022
2 answers
603 views

In a grid's dataBound event I set up popovers.

The popover sometimes opens at the correct position when the element is clicked.

Please see this video: https://vimeo.com/737072810/10bb7c26d8

This is the code setting up the popovers:

    dataBound: function(e) {

        $(".view-qrcode").kendoPopover({
            position: "bottom",
            body: '<div class="asset-qr"></div>',
            showOn: "click",
            animation: false,
            show: function (e) {

                // build QR code
                var $target = $(e.sender.element[0]);
                var uniqueId = $target.closest("tr").data("uid");
                var dataItem = Ise.Kendo.Grid.getDataItem("#assets-grid", uniqueId);
                var $popup = $(e.sender.popup.element[0]);
                var $assetQrs = $(".asset-qr", $popup);
                var url = viewModel.assetBaseUrl + '/' + dataItem.shortId;

                var $assetQr = $($assetQrs[0]);
                $assetQr.empty();

                $($assetQr).kendoQRCode({
                    value: url,
                    errorCorrection: "M",
                    size: 120
                });

            }
        });

    }
}).data("kendoGrid");

What am I doing wrong?

NB there is no PopOver tag

 

 

Neli
Telerik team
 answered on 11 Aug 2022
1 answer
240 views

i have multi select control in form with about 20000 records , when i click on control every time it takes about 10 seconds

is there any solution to reduce the response time

Martin
Telerik team
 answered on 10 Aug 2022
0 answers
166 views
Consider I am having a parent grid with columns:
A, B, C, D, E, F

So once the data will be saved in database for the specific row. I want to split the values for the record into parent and child
Now parent grid will have A,B and C column
And child will have D, E, F.

And then when I will try to add more records in child it will add new row in database with constant value of A, B, C and new values of D, E and F.
How should I do this implementation.
Shruti
Top achievements
Rank 1
 asked on 09 Aug 2022
1 answer
447 views

How is it possible to expand the detail row using a command button with template?

 

This is what I have so far, but the click event never fires.


columns: [
				{

	    			title: "",

	    			filterable: false,
					width: "60px",
					command: [
						{
							name: "viewDetails",
							text: "",
							click: OnClickViewDetails,
							template: "<button type='button' class=' hm-grid-btns k-button k-button-md k-button-rectangle k-rounded-md k-button-solid k-button-solid-base k-grid-viewDetails' title='View Job Details'><span id='viewDetails' class='k-icon k-i-eye k-button-icon'></span></button>"
						}
						
					] 
	    		},

Martin
Telerik team
 answered on 09 Aug 2022
1 answer
248 views

I am trying to populate the kendo panel control using the below json

var jsondata = { "Heading 1": 
[{ "ID": 1, "Name": "TEST 1" }, { "ID": 2, "Name": "TEST 2" }, 
{ "ID": 3, "Name": "TEST 3" }, { "ID": 4, "Name": "TEST 4" }, 
{ "ID": 5, "Name": "TEST 5" }, { "ID": 6, "Name": "TEST 6" },
],
 "Heading 2": 
 [{ "ID": 1, "Name": "TEST 1" }, { "ID": 2, "Name": "TEST 2" },
 { "ID": 3, "Name": "TEST 3" }], 

 "Heading 3": [{ "ID": 1, "Name": "TEST 1" }, 
 { "ID": 2, "Name": "TEST 2" },
 { "ID": 3, "Name": "TEST 3" }] };

 

Heading 1, Heading 2, Heading 3 will be the heading of the panels and the "Name" will be the subitems

JS FILE :

$(document).ready(() => {
    $("#pageLoader").hide();

    $("#panelbar").kendoPanelBar();
    var panelBar = $("#panelbar").data("kendoPanelBar");



    $.each(Object.keys(jsondata), function (i, row) {
      // trying to get all the names into an array
        let array = new Array(Object.values(jsondata)[i].length);

        $.each(Object.values(jsondata)[i], function (j, datarow) {

            array[j] = Object.values(jsondata)[i][j].Name;
        });



        panelBar.append([
            {
                text: row,
                items:  ??? 

            }
        ]);
    });
}); 

 

Below are the things I have tried :

items : array (subitems are populated but they are shown as "undefined")

items : [{text :  array }] (all the subitems are displayed as one item with comma separated values)

 

How are we supposed to give:

items : [{

text : "TEXT 1"

},

{

text : "TEXT 2"

}

]

I want to do the above thing but not hard code. In a loop or something.

Sneha
Top achievements
Rank 1
Iron
 answered on 09 Aug 2022
1 answer
280 views

Hello,

Just upgraded to 2022.2.802 Kendo UI for jQuery and noticed that when clicking on a row in a grid it correctly highlights it (e.g. dark blue), but doesn't maintain the selection when moving the mouse from the row. This appears to be a breaking change - at least for our code. Previously it would still be selected/highlighted when moving the mouse away from the row.

Cheers,
Nick

Georgi Denchev
Telerik team
 answered on 08 Aug 2022
0 answers
148 views
Kendo Grid Virtual Scroll does not work using mouse wheel, it work with the slider scrollbar. The mouse wheel work up to the currently loaded page but does not fetch up the next page.
Dong
Top achievements
Rank 1
 asked on 08 Aug 2022
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
Application
Map
Drag and Drop
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?