Telerik Forums
Kendo UI for jQuery Forum
7 answers
327 views

Hello,

I am using the asp.mvc spreadsheet control and I like it very much. It saved me lot of time. I have a small question regarding the data validation.

Scenario:

1. I set the row and column headers.(Row 1, Column A)

2. Range B2:Z10 is used for data cells - user will provide decimal values here

3. I style the sheet, header cells differ from data cells.

3. For all data cells I set the validation: (From menu I choose Data validation - Criteria: Number, Comparer: greater than, Min:0,)

4. I save the sheet as Json and store it in the database.

5. I recreate the spreadsheet from JSON and ask user to fill the data cells(B2:Z10) - Headers and values are set properly, colors too but validation is missing.

 

Could you advice me how should I proceed so data cells will be check with validation and user will be forced to put decimal values greater that 0? The step where I store the JSON in the database is obligatory.

 

Thank you for your quick response.

Veselin Tsvetanov
Telerik team
 answered on 29 Mar 2018
2 answers
135 views

Hi,

I am facing the following issue when I clear the value of the kendoEditor control. This happens only in Firefox (version 59.0.2) even using jquery or clearing the content manually through the UI. This is the code...

var editor = $("#editor").data("kendoEditor");

editor.value("");

When I clear the content the CPU consumption raises up to 50% and the browser ends up crashing. 

Please your support for this issue. 

Ianko
Telerik team
 answered on 29 Mar 2018
13 answers
461 views
Hello,

We would like to use the mobile switch without doing an entire mobile application (i.e. within an HTML5/CSS3 application using Kendo Web UI).  I have managed to determine the minimum integration with Kendo Mobile to get a switch control to work, but unfortunately, by running new kendo.mobile.Application, it affects other controls, like kendo drop-down-lists (see the attached graphic for a sample of what happens to a kendo drop-down list).

I tried localizing the scope of the effects by defining a <div> just around the switch and calling new kendo.mobile.Application($("#divAroundTheSwitches")), but this didn't work -- no switches were created.

Is it feasible to try to use mobile platform widgets in a non-mobile HTML5/CSS3 application?  Any direction you could give would be greatly appreciated.

Thank you!
Ianko
Telerik team
 answered on 29 Mar 2018
24 answers
6.8K+ views
We have a dropdownlist with an option that is very long. When you open the dropdownlist it displays the option wrapped(broken over more than one line). We want to change this behaviour so the dropdown takes on the size of the biggest option, like a normal HTML select does, with no wrapping, no ellipsis etc.
In the screenshot, we want the green area to stay the same, but the red area needs to adjust it's size to fit the widest option without wrapping

Ianko
Telerik team
 answered on 29 Mar 2018
2 answers
280 views

How can I convert "popup:{appendto: $("#winComments")}" to angularjs "k-popup: {??????}"?  Thanks.

$("#ddMonth").kendoDropDownList({
dataSource: $scope.mthList,
dataTextField: "name",
dataValueField: "name",
filter: "contains",
popup: {   <=====
appendTo: $("#winComments") <=====
} <========
});

 

<select data-ng-show="filterMth" kendo-drop-down-list
k-data-text-field="'name'"
k-data-value-field="'name'"
k-filter="'contains'"

??????????
k-data-source="mthList"></select>

Bertha
Top achievements
Rank 1
 answered on 28 Mar 2018
11 answers
960 views
How can I make the Schedule focus on the current time when ever the page is loaded?

Thanks for the help.

Dimitar
Telerik team
 answered on 28 Mar 2018
3 answers
520 views

After using the View HTML tool the editor removes checked="checked" from a radio button.

Example:

<input name="ID" type="radio" checked="checked" value="1" />

becomes

<input name="ID" type="radio" value="1" />

 

It sort of works if HTML 5 is used.

<input name="ID" type="radio" checked value="1" />

will become

<input name="ID" type="radio" checked="checked" value="1" />

and will stay like that even if you view the HTML multiple times. But the next time the editor is loaded and the HTML is viewed checked="checked" will be removed.

 

it appears to work correctly for check boxes.

Ivan Danchev
Telerik team
 answered on 28 Mar 2018
1 answer
2.1K+ views

I need to add an aria label to the li of the selected tags for the multiselect control.  This is so that navigating with the keyboard over the selected tags will allow a screen reader to read the selections. I've tried using the tagTemplate, but that doesn't appear to get me access to the list item, only the span inside it.  How can I add the aria-label attribute to the li element so that it looks like:

<li class="k-button k-state-focused" deselectable="on" aria-label="Doe, John" id="select2_tag_active">
 
    <span deselectable="on" >Doe, John</span>
 
    <span unselectable="on" aria-label="delete" class="k-select"><span class="k-icon k-i-close"></span></span>
 
</li>

 

Ivan Danchev
Telerik team
 answered on 28 Mar 2018
3 answers
172 views
I had a simple question. I did not know where else I should have posted this so posting it in this forum. When is Time Picker component supposed to be coming out for Angular 2+ ? We have a project where one of the business requirement is  to have a timepicker. 
Georgi Krustev
Telerik team
 answered on 28 Mar 2018
4 answers
808 views
how to edit grid grouping template
Mauro
Top achievements
Rank 1
 answered on 28 Mar 2018
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?