Telerik Forums
Kendo UI for jQuery Forum
1 answer
253 views

Im using a kendo schduler to display an event calender. When an event is added, it displays on the calendar with height 25px
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>     
Ivan Danchev
Telerik team
 answered on 18 May 2017
3 answers
691 views

I'm building a Kendo Scheduler using the MVVM methodology. I find that a lot of the configuration options, listed here: http://docs.telerik.com/kendo-ui/api/javascript/ui/scheduler#methods-view, are difficult to achieve via the MVVM way. One of the things I'm attempting to achieve is change the scheduler view from week to month when a button is clicked. Yes, I know this support comes out of the box when a Kendo scheduler is initialized, but due to design and requirements, customization is needed. This is what I have:

 

HTML:

<div id="scheduler-container">
    <div class="scheduler-toolbar">
        <div class="button-container" data-bind="events: { click: onClick }">
            <button class="btn btn-default view-btn" value="month">Month</button>
            <button class="btn btn-default view-btn" value="week">Week</button>
        </div>
    </div>
    <div class="scheduler"
         data-role="scheduler"
         data-views="['month', 'week']"
    ></div>
</div>

 

 

JS:

var schedulerModel = kendo.observable({
    onClick: function(e) {
        /*  change view here. is it possible?  */
    }
});
 
$(document).ready(function() {
    kendo.bind($("#scheduler-container"), schedulerModel);
});

 

Any help would be greatly appreciated! Thanks!

Sayer
Top achievements
Rank 1
 answered on 17 May 2017
1 answer
560 views

Hi,

I'm try to show ellipsis at the end of long texts inside the table cell, and I'm doing by setting "table-layout: fixed", but I run into unwanted behavior when the columns are being resized. The column can be shirked completely, and an horizontal scroll bar appears. 

Code:

http://jsfiddle.net/nxLvryxb/

Screenshots:

(Attached)

 

Preslav
Telerik team
 answered on 17 May 2017
9 answers
614 views
Upload multiple files - in async mode.
A)
When an upload did not complete due to a server error, the uploaded file is being displayed in the file list with the "Retry" button.
When multiple files are uploaded, it is very easy to overlook the file that has not been uploaded yet.

is there a way to provide different styling for unfinished vs finished files?

B)
When number of files to be uploaded is limited to a predefined number MAX_FILES 
(I use the following code from the forum: ($(id).parent().children('input[type=file]:not(' + id + ')').length >= MAX_FILES)
to determine the number of files in the list)

The files that are in the list but not yet uploaded get counted as well.
Is there a way to provide the user an option to remove the entry (the entry waiting for "retry") from the list?

Thanks
Andrew.
Dimitar
Telerik team
 answered on 17 May 2017
15 answers
1.9K+ views
Hi,

I have a grid all setup and working the way I want. I think It's pretty slick, but i've noticed that if a user filters a column, there doesn't seem to be any indication that the data is being filtered once that menu is closed.

Am I simply missing a 'is filtered' indicator, or is there not one?

If there isn't can you suggest a good way to add one? I imagine either some text at the bottom or top stating its filtered on particular columns or an image on each column header that indicates a filter is being applied.
Konstantin Dikov
Telerik team
 answered on 17 May 2017
1 answer
164 views

Hi,

I have a need to add some frames to identify period of times, that are not events (appointments) but have some specifics...

There is no problem to add a nice div using $(this.ID + " .k-scheduler-content").append();, but I could not find the way to compute the position (left, top, width, height) of that div...

For instance for a frame that should be at day of 17/05/2017 (the 4th row in my case), spanning from 10:30 to 12:00...

I'm looking to find the correct column and rows from this information...

 

Regards

 

Ivan Danchev
Telerik team
 answered on 17 May 2017
10 answers
1.4K+ views
I am trying to create a donut chart with multiple series. I am using the basic example as a starting point http://demos.telerik.com/kendo-ui/dataviz/donut-charts/index.html.

I would like a single legend, I the example if I turn on legends it shows for each series (they are the same).
I would like to label the series by there name rather than the individual sections.

I have include what I get from the sample and what I would like.

Thanks,
Dan



Iliana Dyankova
Telerik team
 answered on 17 May 2017
4 answers
856 views

Starting with Kendo-UI 2017, I've noticed that the row filter now shows two "x" buttons to clear the filter (one inside the text box and one to the right of the text box). Why are there two rather than only one like in the older versions? Also, is there a setting to remove the clear button from inside the text box without resorting to using CSS?

http://dojo.telerik.com/AkApE

Just to be clear, I'm not referring to the "x" that IE puts into text boxes.

 

 

Chris
Top achievements
Rank 1
 answered on 16 May 2017
6 answers
157 views

Can I add a new save and cancel button and can call save and cancel function?

Or I can modify original save button to a image call the save function

Nencho
Telerik team
 answered on 16 May 2017
3 answers
878 views

I'm using an MVC grid on a page which contains a checkbox column. It's defined as follows:

        columns.Bound(p => p.IsActive).Title("Active?").ClientTemplate("<input type='checkbox' #= IsActive ? checked='checked' : '' # />").Width(80);

I have JavaScript code that captures a change in the value of the checkbox and sets the underlying data item to true or false as follows:

$("#grid .k-grid-content").on("change", "input#IsActive", function (e) {
        var grid = $("#grid").data("kendoGrid");
        var checked = $(this).is(':checked');
        var col = $(this).closest('td');
        dataItem = grid.dataItem($(e.target).closest("tr"));
        dataItem.set(grid.columns[col.index()].field, checked);
    });

All this works exactly as it should. Except when the user saves the row and my controller Update method is called, the value of the checkbox is always returned as false, even if the checkbox is checked. I have verified that the value of 'checked' above is true and the underlying data item is being set to true. But a false is always returned to the controller method.

Boyan Dimitrov
Telerik team
 answered on 16 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?