Telerik Forums
Kendo UI for jQuery Forum
2 answers
921 views

I've implemented the example code found here: https://demos.telerik.com/kendo-ui/treeview/filter-treeview-in-dialog

It works as expected and is perfect for my requirements, apart from one annoyance.

When the filter is in use some child nodes are hidden, but if you click the parent node checkbox, the result is that all child nodes are checked. Irrespective of what is visible (filtered).

This isn't very useful. Is there a solution whereby only the visible children would be checked/unchecked when the parent checkbox is clicked?

Thanks,
John

John
Top achievements
Rank 2
Iron
 answered on 14 Aug 2022
0 answers
180 views
Hello Team,
We are using the Telerik Kendo UI grid - In Footer template the max value is calculating the min value. The number columns only having this issue. Date columns Max & Min is working perfect. Please help us to fix this issue. The video link is mentioned below for your reference.

Video link : https://suganya-gmail.tinytake.com/df/1319ede/thumbnail?type=attachments&version_no=0&file_version_no=0&thumbnail_size=preview

Sample Code : https://we.tl/t-6H47OpQwaU (The link is valid for 5 days.)

Code Screen shot : https://prnt.sc/CtRPuVKgifyj

  field: "TicketNumber",
            title: "Ticket#",
            width: 140,
            headerTemplate: "Ticket# <span onclick='Showpopup(2,this);  return true' data-filtercolumn='TicketNumber' data-selectedfiltercolumn='count'><i class='iconify' data-icon='fa-solid:sigma'></i></span>",
            footerTemplate: "<div id='TicketNumbercount'>Count = #: count #</div><div id='TicketNumbermin' style='display:#=footerViz['TicketNumbermin']#;'>Min: #=  min #</div><div id='TicketNumbermax' style='display:#=footerViz['TicketNumbermax']#;'>Max = #: kendo.toString(max, '\\#\\#,\\#') #</div>"
Giri
Top achievements
Rank 1
Iron
 asked on 13 Aug 2022
0 answers
187 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
492 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
199 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
571 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
217 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
138 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
426 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
214 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
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
MultiColumnComboBox
Chat
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
BulletChart
Licensing
QRCode
ResponsivePanel
TextArea
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?