Telerik Forums
Kendo UI for jQuery Forum
9 answers
1.1K+ views
Hello,
I am looking at replacing our current editor with this Kendo Editor.  I have set up a small demo project in VS 2010 and I have noticed that when I send the editor complete html (i.e. with <html />, <body />, etc...) it all gets removed and anything in areas like <head> stays around.
Is there a way to tell the editor not to strip these tags?
what other sort of formatting does the editor do on the HTML that i send it?

Thanks,
-Scott
Dimo
Telerik team
 answered on 15 May 2017
1 answer
455 views

Hi

I'm getting a 404 error on the following CDN link. Could you advise where the most recent version of this file is please?

 

https://kendo.cdn.telerik.com/2017.2.504/styles/kendo.dataviz.black.mobile.min.css 

Stefan
Telerik team
 answered on 15 May 2017
2 answers
7.1K+ views
Hi,

I was looking at the forum, but I didn't find any message related to this. I would like to allow users to change the number of rows displayed in the grid for example 15, 30, 50. So far, I see that the pageSize property is specified when initializing the grid. Also, I havent' see any example where the number of rows can be changed dinamically, for example a drop down list with the number of rows next to the pagination numbers, or a text box when the number of pages can be entered.

Thanks for your help

Dimo
Telerik team
 answered on 15 May 2017
3 answers
373 views
Hello.
We have functionality, which allows to set non-date(string "No due date") value on initialization, and after picking date(see ex. below)
Some time ago(I think it was happened after updating to one of the latest release) this functionality was broken.
Now after setting non-date value datepicker sets current date itself.

How we can repair our functionality? Is any workaround to set non-date value?


Example of our workaround, which now doesn't have effect:

  function setDueDateToNoDueDate() {
                $scope.dueDateWidget.value($scope._noDueDateText);
                $scope.dueDateWidget.element[0].value = $scope._noDueDateText;
                $scope.dueDateWidget.trigger("change");
            }





Stefan
Telerik team
 answered on 15 May 2017
1 answer
312 views

Hi, 

I had follow the link below to append row while scrolling.. 

http://docs.telerik.com/kendo-ui/controls/data-management/grid/how-to/binding/load-and-append-records

I created some textbox to let user fill in and I put it inside the detail template.. But after scrolling the grid, it rebind the data.. 

Is there any method not to refresh the datasource in grid and just append new row at the bottom while scrolling the grid? 

Thanks. 

Regards, 

Su Pei

Alex Hajigeorgieva
Telerik team
 answered on 15 May 2017
1 answer
472 views

Can dropzone be used without async?

Ivan Danchev
Telerik team
 answered on 15 May 2017
3 answers
1.7K+ views

I am using the Kendo AngularJS date/time picker i.e.  <input kendo-date-picker ... /> 

I use the componentin all kinds of places in my web application. However on one page, clicking a datepicker causes it to disappear. See the following GIF of the behaviour: http://imgur.com/a/UAJug

The other datepickers in the GIF mostly work okay, but the featured one does not. Funnily enough, when you scroll back up the page and then scroll down - or when you make your window height smaller - the datepicker works correctly and the calendar does not disappear.

This is the snippet of the datepicker in question:

<div class="form-group">
                    <label class="col-xs-3 control-label" title="Default value">
                        {{'DATASOURCE.VARIABLES.DEFAULT_VALUE' | translate}}
                    </label>
                    <div class="col-xs-8" ng-switch="stagedVariable.type">
                        <input ng-switch-when="Date" kendo-date-time-picker k-ng-model="stagedVariable.defaultValue"/>
                        <input ng-switch-when="number" class="form-control" ng-model="stagedVariable.defaultValue" type="number" max="9007199254740991" min="-9007199254740991"/>
                        <input ng-switch-when="string"  class="form-control" ng-model="stagedVariable.defaultValue" type="text"/>
                        <select ng-switch-when="option" class="form-control" ng-model="stagedVariable.defaultValue"
                            ng-options="val as val for val in stagedVariable.allowedValues">
                        </select>
                    </div>
                </div>
Daniel
Top achievements
Rank 1
 answered on 14 May 2017
1 answer
4.1K+ views

Hello,

I'm trying to replace filter widget in filter row in grid and detail grids.

My replacement should be standard text box input: <input class="k-input" id="fullName" style="width: 100%;" placeholder="Hledat subjekt">

It would be perfect if i can set template of this filter cell when defining columns like this:

columns: [
            {
                field: "color",
                filterable: {
                    cell: {
                        template: <input class="k-input" id="fullName" style="width: 100%;" placeholder="Hledat subjekt">
                        },
                        showOperators: false
                    }
                }
            }

I'd like to define it by html element or by kendo element if there is such (i have not found any)

Can you help me with solution please?

Milan
Top achievements
Rank 1
 answered on 13 May 2017
2 answers
123 views
Hello! I've noticed that with last kendo release (2017.2.504) the helper method kendo.date.weekInYear returns always NaN, here you can check on dojo:

http://dojo.telerik.com/ASOQA

I don't know if other methods on kendo.date are afflicted by the same bug.

Greetings!
Mattia
Top achievements
Rank 1
 answered on 12 May 2017
1 answer
2.4K+ views

I have tried to put "All" in the PageSize = 'All' which didn't work, then i haven't provide any default value for the PageSize then Grid started showing all the records at pageload. But at the bottowm righ of the Grid it is showing as "NaN - NaN of 115 items".
What my client want is by default All option should be selected on the Grid pager dropdown and that should show all the records in the Grid with correct paging. Can someone please help me by providing solution for this problem please?

Data I am getting form the database to bind the Grid.
Thanks in advance.

My Code:

BindMyGrid: function (gridData) {
 $("#MyGrid").empty();
        if (gridData !== undefined && gridData !== null && gridData.length > 0) {
            $("#MyGrid").kendoGrid({
                dataSource: {
                    data: gridData
                   // pageSize: 'All'
                },
                sortable: {
                    mode: "multiple",
                    allowUnsort: true
                },
                selectable: 'multiple',
                scrollable: false,
                pageable: {
                    input: false,
                    numeric: true,
                    previousNext: true,
                    butonCount: 5,
                    pageSizes: [10, 20, 30, 40, ALL]
                },
                dataBound: function (e) {
                    var grid = e.sender;
                    grid.select(grid.tbody.find(">tr:first"));
                },
                detailInit: WorkPartyAllocationsData.detailInit,
                columns: [
                        { field: "ProductName", title: "Product Name", width: "400px" },
                        { field: "TotalItems", title: "Total Items", width: "175px" }
                ]
            });
        }
},

Tsvetina
Telerik team
 answered on 12 May 2017
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?