Telerik Forums
Kendo UI for jQuery Forum
7 answers
220 views
How do we prevent popping up keypad when using this multiselect widget. It is text input box. if we make it read-only then the multiselect feature won't work.
Misho
Telerik team
 answered on 18 May 2017
1 answer
123 views

http://docs.telerik.com/kendo-ui/controls/editors/multiselect/how-to/selection/preselect-items-using-mvvm

Having sample code is good, but code is not an explanation. Code is what, code is not why.

For example:

   var products = model.products;            // preselected products
   model.set("products", []);                      // why is this necessary?
   model.set("products", products);

I'm new to Kendo (and JS frameworks in general), while I am finding a decent amount of sample code, the lack of proper tutorials means a longer learning curve.

Nencho
Telerik team
 answered on 18 May 2017
6 answers
901 views
Hi Guys,

I have notice when exporting a groupped grid to excel the aggregate cells in excel are offset for some reason to the left and do not match the browser grid aggregate layout and as such the exported file doesnt look as good as it should.
This can behavior can easily be replicated in the kendo demo page at http://demos.telerik.com/kendo-ui/grid/excel-export

Cheers!


Alex Hajigeorgieva
Telerik team
 answered on 18 May 2017
5 answers
1.2K+ views

Hello,

I have found I cannot select text from grid and copy it to clipboard. When searching this issue I have found the following demos. In the first demo I can select text and copy it:

http://jsfiddle.net/OnaBai/uj6sr9ez/

 

However, in the following demo I cannot copy the text from cell or row:

http://demos.telerik.com/kendo-ui/grid/selection

which demonstrate the problem.

My question is how I enable text copying (either cell(s) or row(s)) from grid to clipboard.

 

Thanks in advance,

Emanuel

Boyan Dimitrov
Telerik team
 answered on 18 May 2017
1 answer
701 views

Hi all,

I am successfully load datasource data from server and then i remove some items from the datasource then i bind it to the combobox. the problems is that the removed data still appear? 

 

// data from server works fine

comboData: kendo.data.DataSource = new kendo.data.DataSource({
transport: {
read: {
dataType: "jsonp",
url: `my url`
}
}
});

 

//combobox binding

this.comboBox = $("#elementid").kendoComboBox({
dataTextField: "DisplayName",
dataValueField: "SchemaName",
select: (e) => this.onSelectionChanged(e),
dataSource: this.comboData
}).data("kendoComboBox").focus();
$("#elementid").data("kendoComboBox").open();

 

// remove data from datasource

var rawData:any = this.comboData.data();

for(let dataItem of rawData){
if(my condition ) {
this.comboData.remove(dataItem);
}
}

Ivan Danchev
Telerik team
 answered on 18 May 2017
2 answers
147 views

Hello,

 

I have a Kendo Scheduler where in work weekview i am Setting workweekend to 5/6/7 depending on user Settings. When ist 7(monday-sunday) in workweekview when i click back button the Dates do not Change. Ist always current week. When i check e.date in navigate Event it always gives me todays date. But in week view it works fine. In workweekview Forward navigate works aswell .

if i remove workweekend(7) then in workview back Navigation also works fine.

 

Is it a bug? How can i fix this Situation. As i mentioned when workweekview is monday-friday or monday-saturday everything works fine. Only monday-sunday has Problem in back navigation

 

Thanks

 

Anamika

Anamika
Top achievements
Rank 1
 answered on 18 May 2017
7 answers
457 views
I am attempting to append some styles to the "Format" option in the Editor Toolbar as follows;

01.$scope.editorTools = [
02.    {
03.        name: "formatting",
04.        tooltip: "Built-in styles",
05.        items: [].concat(
06.            kendo.ui.Editor.prototype.options.formatting[0], [
07.            { text: "Section Header", value: "h2" },
08.            { text: "Sub-Section Header", value: "h3" },
09.            { text: "Paragraph", value: "p" }
10.            ])
11.    }
12.];

The Editor in the HTML is;

01.<textarea id="txtNarrative" name="txtNarrative"
02.          class="form-control"
03.          ng-model="rptSectionText.narrative"
04.          ng-required="true"
05.          kendo-editor
06.          k-encoded="false"
07.          k-tools="editorTools"
08.          style="height: 400px;"
09.          stylesheets="['/Content/KendoEditor.css']">
10.</textarea>

The problem is I get the error "TypeError: Cannot read property '0' of undefined at new rfController (rfController.js:40)" which is line 6 in the code example above.

I tried adapting the code from http://www.telerik.com/forums/minor-formatting-issue-(tool-bar) but obviously I am doing something wrong.

Thanks in advance.
Nikolay
Telerik team
 answered on 18 May 2017
2 answers
87 views

Hi there,

I am running into issues attempting to generate a custom theme using the Kendo UI Themebuilder - http://demos.telerik.com/kendo-ui/themebuilder/

We have recently upgraded to Kendo Q1 2017. We still had a custom theme in place which was built in an earlier version of Kendo. Due to the change in approach to icons (http://docs.telerik.com/kendo-ui/backwards-compatibility/2017-backward-compatibility), I expected to have to rebuild the theme. We are using Metro as the theme base.

However, when I've done this using the themebuilder, the downloaded CSS file appears to be very different from what I would expect - it still has references to the sprite.png file. This is leading to both approaches being applied - the k-icon class applies a sprite image, and the new approach applies an icon.

I then ran the themebuilder and just downloaded an unmodified version of the Metro theme and compared that to the theme shipped in 2017.1.223 - again, the same differences were present and we ended up with both images applied.

Am I doing something wrong here or is there an issue - it seems to be the themebuilder is not able to produce CSS compliant with Q1 2017?

Thanks,

Paul McKay

Alex Gyoshev
Telerik team
 answered on 18 May 2017
1 answer
726 views

Hello,

I have a chart with multiple series and different types. When I am using a rangeColumn and the value is'nt defined, the label shows undefined or null.

Is it possible to filter the labels and to hide or to overwrite only the labels for undefined or null values? If I am seeing it correctly, the label visibility is connected to the whole series, but I need to control the visibility for each value.

 

Thank you for your help.

Best regards

Harald

Iliana Dyankova
Telerik team
 answered on 18 May 2017
3 answers
624 views

Im trying to change the height of a highlighted event in the monthview scheduler calendar

Its an inline style according to Chrome dev tools. If I change it there I get the desired result but I cannot find where to make that change in source code.

Ive tried adding the following to my view to no avail:

<style>
.k-scheduler-monthview .k-event
{
height: 75px;
}
</style>

Here is the rendered code

<div role="gridcell" aria-selected="false" data-uid="ab5621fd-4c0a-436f-9056-39bac061d6b9" class="k-event" style="top: 115px; width: 73px; left: 2px; height: 25px;"><span class="k-event-actions"></span><div title="Maratona Dles Dolomites 2017"><div class="k-event-template">Maratona Dles Dolomites 2017</div></div><span class="k-event-actions"></span></div>

Where and how can I change 'height: 25px' to a different value?

Full rendered code:

<table class="k-scheduler-layout k-scheduler-monthview k-scrollbar-h"><tbody><tr><td><div class="k-scheduler-header k-state-default"><div class="k-scheduler-header-wrap"><table class="k-scheduler-table"><tbody><tr><th colspan="1" class="">Sunday</th><th colspan="1" class="">Monday</th><th colspan="1" class="">Tuesday</th><th colspan="1" class="">Wednesday</th><th colspan="1" class="">Thursday</th><th colspan="1" class="">Friday</th><th colspan="1" class="">Saturday</th></tr></tbody></table></div></div></td></tr><tr><td><div class="k-scheduler-content" style="height: 576px;"><table class="k-scheduler-table"><tbody><tr role="row"><td class="k-other-month k-state-selected" role="gridcell" aria-selected="true"><span class="k-link k-nav-day">25</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">26</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">27</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">28</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">29</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">30</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">01</span></td></tr><tr role="row"><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">02</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">03</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">04</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">05</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">06</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">07</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">08</span></td></tr><tr role="row"><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">09</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">10</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">11</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">12</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">13</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">14</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">15</span></td></tr><tr role="row"><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">16</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">17</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">18</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">19</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">20</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">21</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">22</span></td></tr><tr role="row"><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">23</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">24</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">25</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">26</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">27</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">28</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">29</span></td></tr><tr role="row"><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">30</span></td><td role="gridcell" aria-selected="false"><span class="k-link k-nav-day">31</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">01</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">02</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">03</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">04</span></td><td class=" k-other-month" role="gridcell" aria-selected="false"><span class="k-link k-nav-day">05</span></td></tr></tbody></table><div role="gridcell" aria-selected="false" data-uid="ab5621fd-4c0a-436f-9056-39bac061d6b9" class="k-event" style="top: 115px; width: 73px; left: 2px; height: 25px;"><span class="k-event-actions"></span><div title="Maratona Dles Dolomites 2017"><div class="k-event-template">Maratona Dles Dolomites 2017</div></div><span class="k-event-actions"></span></div></div></td></tr></tbody></table>
Thank you.
Terry
Top achievements
Rank 1
 answered on 18 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
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?