Telerik Forums
Kendo UI for jQuery Forum
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
274 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
952 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
517 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.0K+ 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
168 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
801 views
how to edit grid grouping template
Mauro
Top achievements
Rank 1
 answered on 28 Mar 2018
1 answer
320 views

Does anyone have any sample code how to integrate image copy/paste with the Upload component?  Or would we just use a different component entirely (jQuery plugin) to support this feature?  We want to allow a user the option to paste an image from clipboard in addition to the other methods like file drag drop and selecting files/directories.

Thanks!

Ivan Danchev
Telerik team
 answered on 27 Mar 2018
1 answer
367 views

Hi

I have a grid where I get my data from the server.
In my pager Im showing this page sizes [25,50,100,"All"] which works fine. 

But now,when we have more than 10000 items in the totalResults I want to remove the "All" option. 
How can I change the pagesizes of the pager?

But I only want to change the selectbox without reloading (and fetching the data) the grid again.

I tried it in the Databound event like this

dataBound(e) {
   var grid = e.sender;
   var pageSizes = self.totalResults < 10000
                ? [self.gridPageSize, self.gridPageSize * 2, self.gridPageSize * 4, "all"]
                : [self.gridPageSize, self.gridPageSize * 2, self.gridPageSize * 4];

   grid.setOptions({ pageable: { pageSizes: pageSizes  } });

}

This leads me in a endless loop because the setOptions refrehes the grid.
Because the query can take some time, I dont want to load the data again.
I also played around with hidding the "ALL" option via css. But this, I also didn't get to work.

Than I tried to bind the options and change them directly like this.

    <div kendo-grid="grid" id="grid"
         k-options="mainGridOptions"
         k-rebind="mainGridOptions">
    </div>

self.mainGridOptions.pageable.pageSizes = pageSizes;
This works, but also does a refresh of the grid (and does another api call to the backoffice)

So, is there a way to change the pagesizes without refreshing the data of the grid.

Thanks.

 

 

Florian
Top achievements
Rank 1
 answered on 27 Mar 2018
11 answers
2.1K+ views
I have used a couple other WYSIWYG editors, like CKEditor, and they have a setting to change what the Enter key does. By default, it enters a <p> tag for a new paragraph. But in situations like with HTML emails, you can't use <p> tags, since they don't render consistently in email readers. Instead, you have to use <br /> tags to space things out. At least with CKEditor, there is a setting to change the Enter key's behavior, but I don't see any option for this with Kendo Editor. Is this available, or can it be available? Thanks.

(for reference, here is some explanation of CKEditor's setting: http://stackoverflow.com/questions/3339710/how-to-configure-ckeditor-to-not-wrap-content-in-p-block )
Dimitar
Telerik team
 answered on 27 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?