Telerik Forums
Kendo UI for jQuery Forum
1 answer
132 views
After an initial search, if the user selects multiselect line items, and then searches for a different term, upon trying to select another item, the search term box clears itself and the filtered items reload unfiltered.  How can I fix this behavior?
Neli
Telerik team
 answered on 26 May 2021
2 answers
468 views

My goal is to handle the exportExcel event,  invoke the export saveAsExcel function, then pass the excel data to the server as a base64 string.
However if the spreadsheet contains images, and unhandled error occurs in the kendo script, which I have managed to track down via the unminified kendo.all.js and it seems to occur at this place:

'images is not defined' is the error message.

I've created Dojos which illustrate and reproduce the problem.
Clicking on the "Export" button will trigger the excel export:
 - Non-working Dojo with an image: https://dojo.telerik.com/AdIWETEY/15
 - Working Dojo (without images): https://dojo.telerik.com/iRebuTuV

Neli
Telerik team
 answered on 26 May 2021
1 answer
311 views

Hi,

The position of tooltip in bar charts is at top bar-line by default. Can this position be changed to the middle of the bar chart . While going through the documentation we didn't find any property to set the position. Please suggest.

Regards,

Jaspreet

Georgi Denchev
Telerik team
 answered on 26 May 2021
1 answer
337 views
I want to export excel on kendo grid. I can export all rows as excel successfully. But I'm trying to export only checked rows using `grid.exportSelectedToExcel(true);`. 
But this throw an error 

    Uncaught TypeError: grid.exportSelectedToExcel is not a function
        at exportSelectedAssets (<anonymous>:103:22)
        at HTMLButtonElement.onclick



I'm using jszip.min.js (JSZip v3.1.5 - A JavaScript class for generating and reading zip files)
Nikolay
Telerik team
 updated answer on 26 May 2021
1 answer
296 views

Hi,

I have a grid of "batches" with nested "test plans".
It works with a typical detailInit function which loads the test plans for each batch.
A bit of navigation is added to view and edit the test plans. 

All that works well, but it can be repetitive to create the test plan and all its details, so I added a [New from template] button, visible when a batch is "open" in the grid to perform a whole series of updates to form an entire complex test plan in one click.

The issue I have is that once all is created and I detect success, I don't know how to just refresh the detail of the batch.
If I reload the grid entirely, that works well (see below), but it is not a pleasant user experience.
I would love to "just refresh" the children rows and see the new child row appear under the last one without reloading the grid, this way the user would click and immediately see the result.

This different from "just adding" a test plan (that part works well using normal detailInit), because I create a whole lot of grand-children rows, so I have several ajax calls to create grand-children and the process is complete once all the grand-children are created. The "batch grid" is unaware of these grand-children.    

 

 

 

Marc
Top achievements
Rank 1
Iron
 answered on 25 May 2021
1 answer
194 views

Hi,

 

is there some way to edit the template (header and footer) of a table, ich want to reorganise some elements and change the design of Kendo UI?

 

Thx for your help

Neli
Telerik team
 answered on 25 May 2021
1 answer
485 views

Hello, is it possible to remove the header and footer toolbars from gantt component? 

I tried already with css


.k-gantt-header, .k-gantt-footer {
        display: none;
    }

  but it's not working. 
Neli
Telerik team
 answered on 25 May 2021
0 answers
130 views

HI All,

I have a grid in which each row consists of some dropdown lists and text boxes. 

Users can edit each of the rows independently. 

Is there a way to validate the grid even when the user has not clicked on the edit button corresponding to the row? I do not want user to navigate to the next page until all of the data are not corrected on the page. 

 

Vaibhav
Top achievements
Rank 1
Iron
 updated question on 24 May 2021
1 answer
1.2K+ views

I have such a method that converts div with id="pdf-div" to pdf.
Html looks correct, and has all styles that are needed, but result pdf has no font-weight style(that is like font-weight:900) on elements, but font-weight: bold works correct.

kendo.drawing.drawDOM("#pdf-div", {
        scale: scale,
        fitWidth: true,
        paperSize: "A4",
        landscape: isLandscape,
        margin: margin,
        })
        .then(function (group) {
            kendo.drawing.pdf.saveAs(group, fileName, proxyURL, function () {
            //    window.close();
            });
        })

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 24 May 2021
2 answers
495 views

How to create detail-template of grid with MVVM?

 

<form id="form1">
<div id="m" data-role="grid"
     data-toolbar="['excel']"
     data-excel='{fileName: "List.xlsx", proxyURL: "http://demos.telerik.com/kendo-ui/service/export",filterable: true}'
     data-editable="false"
     data-selectable="true"
     data-filterable="true"
     data-columnMenu="true"
     data-groupable="true"
     data-pageable='{ "pageSize": 10}'
     data-reorderable="true"
     data-resizable="true"
     data-sortable="true"
     data-height="550"
     data-no-records= "true"
     data-detail-template="detailTemplate"
     data-detail-init="onDetailInit"
     data-columns="[
  { 'field': 'a','title':'a'},
  { 'field': 'b','title':'b'}
 ]"
     data-bind="source: GridSource">
    </div>
 
    <script id="detailTemplate" type="text/x-kendo-tmpl">
     <div id="detailGrid" data-role="grid"
        data-toolbar="home"
        data-selectable="true"
        data-pageable='{"pageSize": 10}'
        data-reorderable="true"
        data-resizable="true"
        data-sortable="true"
        data-height="550"
        data-no-records="true"
        data-bind="source: GridSource"
        data-columns='[{'title':'a','field':'a'}]' >
    </div>

</form>

    </script>
this.vm = kendo.observable({
            Gridsource:[],
        });
        this.vm.set("onDetailInit", function(e) {
            var dataItem = $("#detailGrid").data("kendoGrid").dataItem(e.masterRow);
            kendo.bind(e.detailCell, dataItem);
        });
        kendo.bind($("#form1"), this.vm);

This code doesn't work! i can't see the grid

Joshua
Top achievements
Rank 2
Iron
Veteran
Iron
 answered on 21 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
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?