Telerik Forums
Kendo UI for jQuery Forum
1 answer
267 views

So I've been searching for an answer to this problem for a while and none of the other posts offer a suitable solution.
I want to make a pdf export of a grid, but the pdf needs to have a title page. I've tried this using drawDOM, the PDF function of the grid and using forced page breaks, but I don't get the result I want. I've made a dummy example in the dojo.

https://dojo.telerik.com/IFASUwud

What I want is for the kendo-template to be placed before the grid gets drawn, so I can get a title page. Or even better, to make the drawing of the grid start on the 2nd page of the PDF. When I tried this with the PDF functions of the grid I got the exact same problem.

Depening on which div I select in drawDOM function, I either get a working title page but the multipaging gets mest up, or the multipage works but I can't get a title page because the grid will always be displayed on top.

Hope you guys can help!

     

Martin
Telerik team
 answered on 27 Apr 2020
2 answers
956 views

Hello!

Is it possible to bind grid DataSource to observable object in a way where grid reacts on the changes in the observable object automatically (without triggering .read() method manually)?

There's is an example: http://dojo.telerik.com/IloJiROR

The question is: is it possible to set somehow a dataSource that will automatically react on changes in the model? I wanna change items in the array (in fact it's property of observable object) and see that my grid is changed automatically.

Tsvetomir
Telerik team
 answered on 27 Apr 2020
1 answer
489 views

Hello
I have trouble with multiselect. When I select item I get error "values is not defined" in console and selected item doesn't show in input. But in list it looks like selected. Can anybody help me with this, please?

<select id="members" multiple="multiple"></select>

$( "#members" ).kendoMultiSelect({
      dataSource: {
        data: [
          { value: 1, text: "Demo 1" },
          { value: 2, text: "Demo 2" },
          { value: 3, text: "Demo 3" },
          { value: 4, text: "Demo 4" }
        ]
      },
      dataTextField: "text",
      dataValueField: "value"
    }).data("kendoMultiSelect");

Martin
Telerik team
 answered on 27 Apr 2020
1 answer
132 views

We've identified an issue with the "Charts" category of font-icons  ( https://docs.telerik.com/kendo-ui/styles-and-layout/icons-web#charts) . All others work as expected

The charts category only seems to work if a custom class is created, to reference the unicode 

We have a dojo created here for quick repro:

https://dojo.telerik.com/ozizeBok/2

Thank you

Peter Milchev
Telerik team
 answered on 24 Apr 2020
1 answer
181 views
I see that the old STDEV (now replaced with STDEV.S) formula is not supported by default.
Is there a way to reference an already existing formula so that I can define a custom function and just return the result from the stdev.s formula? Or do I have to implement it from scratch.
Aleksandar
Telerik team
 answered on 24 Apr 2020
1 answer
202 views

Jquery signalr scheduler is sometimes not hitting server read method and not throwing any error in console.

Please help.

Regards

Arif

 

Plamen
Telerik team
 answered on 24 Apr 2020
11 answers
3.6K+ views
I am creating a window as shown below:

$("#wnd" + uniqueId).kendoWindow({
                       actions: ["Refresh", "Maximize", "Minimize", "Close"],
                       draggable: true,
                       height: Height + "px",
                       modal: false,
                       resizable: true,
                       title: Title,
                       width: Width + "px",
                       content: NavURL,
                       iframe: true
                   });

But how can I close this window from a button on the content that is on the NavURL?
Dimo
Telerik team
 answered on 24 Apr 2020
3 answers
244 views

HI,

 

Attached an image of how my cell looks. changed the icon of filter, but on click of it the filter drop down doesn't open. When i click on right-top (even if this is blank space) it opens.

Rumen
Telerik team
 answered on 24 Apr 2020
1 answer
1.3K+ views

Hi, I made the sub grid detailInit method but I need an ajax request to the server rather then simple method call

The detailInit method:

detailInit(e) {
        $("<div/>").appendTo(e.detailCell).kendoGrid({
            dataSource: {
                transport: {
                    read: function (readOptions) {
                        debugger;
                        var parameters = {
                            Filter: {
                                FileId: e.data.Id
                            },
                            Skip: readOptions.data.skip ? readOptions.data.skip : 0,
                            Take: readOptions.data.take ? readOptions.data.take : Page_Size
                        };
 
                        return $.ajax({
                            type: "POST",
                            url: "/ImportingStatusReport/GetImportStatusEntityData",
                            contentType: "application/json; charset=utf-8",
                            data: (kendo.stringify({ filter: parameters })),
                            cache: false,
 
                            success: function (returnData) {
                                debugger;
                                readOptions.success(returnData);
                            }
                        });
                    },
                },
                schema: {
                    data: "Data",
                    total: "Total",
                },
                serverGrouping: true,
                serverPaging: true,
                serverSorting: true,
                pageSize: 10,
                filter: { field: "FileId", operator: "eq", value: e.data.Id }
            },
            scrollable: false,
            sortable: true,
            pageable: true,
            columns: [
                { field: "RecordType", title: "Record Type", width: "110px" },
                { field: "ImportStatus", title: "Import Status", width: "110px" },
                { field: "ImportErrors", title: "Import Errors", width: "110px" },
            ]
        });
    }
 

I get data from the backend to the success method but the data isn't displayed on the UI. The sub table is empty. What can be causing this and where to look for the error?

Alex Hajigeorgieva
Telerik team
 answered on 24 Apr 2020
11 answers
3.4K+ views
Hello,

I was wondering, is there a out of the box way to setup a template that would be shown only if the listview is empty. For instance lets say we have a product list with search. If you search something that matches no results now my listview area would be empty. I want it to display nice big letters saying "No products match your search".

One way I thought I could do this is to have two divs. One with the listview and another one with this message and bind them to a visible / invisible view model property that shows the product data source item count. That way the listview would be shown when there are products, and the message would be shown when the count is at 0.

I guess it would work, but seems rough. Is there a better way or should I stick to my idea?
Alex Hajigeorgieva
Telerik team
 answered on 24 Apr 2020
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?