Telerik Forums
Kendo UI for jQuery Forum
2 answers
243 views

Hi,

When creating/editing an event in scheduler the two datetimepickers for start and end datetime default to en-UK formating.

I know how to change this if you have a datetimepicker ....

<input id="datetimepicker" />

<script>
    $("#datetimepicker").kendoDateTimePicker({
        culture: "de-DE"
    });
</script>

 

So I tried this in the schema section of the scheduler...

schema: {
   model: {
           id: "taskId",
                     fields: {
taskId: { from: "TaskID", type: "number" },
                            title: { from: "Title", validation: { required: true } },
                            start: { from: "Start", type: "date", culture: "en-GB" },
                            end: { from: "End", type: "date", culture: "en-GB" },
                            startTimezone: { from: "StartTimezone" },
                            endTimezone: { from: "EndTimezone" },
                            isAllDay: { from: "IsAllDay", type: "boolean", defaultValue: false },
                            isOOH: { from: "IsOOH", type: "boolean", defaultValue: false },
                            description: { from: "Description" },
                            recurrenceId: { from: "RecurrenceID" },
                            recurrenceRule: { from: "RecurrenceRule" },
                            recurrenceException: { from: "RecurrenceException" },
                            team: { from: "Team", validation: { required: true } },
                            assignee: { from: "Assignee", validation: { required: true } }
                           }
                    },

but it does not seem to work. I have added a reference to 

Vladimir Iliev
Telerik team
 answered on 01 Apr 2016
3 answers
759 views
If you open 2 non modal windows from modal window, and then close one non modal window, the second window gets z-index lover than k-overlay.
Demo.
Not expected behaviour.
Dimo
Telerik team
 answered on 01 Apr 2016
1 answer
481 views

Hi,

i have a problem with custom my editable popup.

The error is on k-editable, i can't use my template and the browser show me this error:

Error: [$parse:lexerr] Lexer Error: Unexpected next character at columns 50-50 [#] in expression [{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }]. http://errors.angularjs.org/1.4.9/$parse/lexerr?p0=Unexpected%20next%20character%20&p1=s%2050-50%20%5B%23%5D&p2=%7B%20'mode'%3A%20'popup'%2C%20'template'%3A%20'kendo.template(%24('%23popup_editor').html())'%20%7D

 

 

This is the html code:

<div kendo-grid
         id="LineGrid"
         k-data-source="lineCtrl.linesList"
         k-editable="{ 'mode': 'popup', 'template': 'kendo.template($('#popup_editor').html())' }"
         k-selectable="'single'"
         k-on-save="lineCtrl.OnSaveEventHandler(kendoEvent)"
         k-toolbar="['create']"
        class="bm_grid">
    </div>

 

This is the template script:

<script type="text/x-kendo-template" id="popup_editor">
        <p>Custom editor template</p>
        <div class="k-edit-label">
            <label for="FirstName">First Name</label>
        </div>

</script>

 

How can i solve it?

Boyan Dimitrov
Telerik team
 answered on 01 Apr 2016
1 answer
533 views
As its shown below, i'm overriding my read function in transport to send ajax request to get data and set it as datasource for the grid but i also have server side paging enabled with virtual scrolling. But i have noticed that i see instead of one, multiple requests(at least two) were sent. I read the posts and people are talking about prefetch and fetch issue. Is there any good solution sofar to fix this issue in my case.
 
var dataSource = {
    transport: {
        read: function (options) {
            var success = function (response) {
                options.success(response);
            };
 
            var error = function (xhr, status, error) {
                Ember.Logger.error('Fail response: ' + xhr.responseText + ' (status=' + xhr.status + ' ' + error + ')');
            };
            _this.get('PopulateGridData')(gridUrl, success, error, options.data, 'POST', true, true);
        },
    },
    pageSize: gridPageSize,
    schema: gridSchema,
    serverPaging: true,
    serverSorting: true,
    serverGrouping: true,
    serverFiltering: true,
};
 
var gridOptions = {
    dataSource: dataSource,
    columns: gridColumns,
    editable: gridEditable,
    pageable: {
        refresh: true,
        numeric: false,
        previousNext: false,
    },
    height: gridHeight,
    scrollable: {
        virtual: true,
    },
    groupable: true,
    filterable: true,            
};
 
var grid = Ember.$("#kendo-grid").kendoGrid(gridOptions).data('kendoGrid');
 
_this.set('kendoGrid', grid);
Nikolay Rusev
Telerik team
 answered on 01 Apr 2016
1 answer
226 views

I'm looking at an example in your mvc demo where you use checkboxes to filter events in a scheduler. I wish to implement a similar function but need to use a dropdown (due to the number of options). The code for the checkbox scenario is...

$("#people :checkbox").change(function(e) {
        var checked = $.map($("#people :checked"), function(checkbox) {
                return parseInt($(checkbox).val());});
                
var scheduler = $("#scheduler").data("kendoScheduler");
                
scheduler.dataSource.filter({
                        operator: function(task) {
                                return $.inArray(task.ownerId, checked) >= 0;
                       
}
                });
         });

How do I achieve similar (my dropdown values are strings) using a dropdown?

Vladimir Iliev
Telerik team
 answered on 01 Apr 2016
3 answers
797 views

When updating to 2015.2.805, we've discovered a NUMBER of  problems with our usage of Angular and Kendo.  We regularly update, and have had no problems previously.  We're hoping we can get some answers as to the problem(s).

 

We use ng-ifs to hide/show tabs based on certain parameters.  In the latest release, this technique breaks the rendering of the tabstrip.

http://dojo.telerik.com/arEfI/2

 

Here's the previous release, where it works just fine. 

http://dojo.telerik.com/EDibu/2

​

What's wrong?​

Rob
Top achievements
Rank 1
 answered on 31 Mar 2016
1 answer
166 views

We updated our Kendo version and some change caused our text input to lose the clear button (x icon) to disappear.

 

Any idea how to get this back? I'm not sure if it is in the kendo or bootstrap css.

Marc
Top achievements
Rank 1
 answered on 31 Mar 2016
0 answers
215 views

Hello
We are just starting to use Kendo Grids in our Angular JS application. We are currently using Angular 1.2x and we should migrating to 1.3x and above very soon. We are trying to figure out a solution for the watchers being created when we use the Kendo Directive.

Here is a snippet of the HTML that is being generated by the grid. It is creating ng-bind for each cell, even if the grid is readonly. We looked through the code and it looks we can estimate the watch count as row X columns (So a grid with 30 columns and 2000 rows would generate 6000 watchers). Is there a way to use bindonce or one time watches (1.3x and above) through a configuration setting?

<tr class="k-alt ng-scope" data-uid="f919f1b6-6f33-4a5a-9606-8a17eef4a108" role="row">
   <td role="gridcell"><span ng-bind="dataItem.Category" class="ng-binding">Category Not Defined</span></td>
   <td role="gridcell"><span ng-bind="dataItem.SubCategory" class="ng-binding">Report Type Not Defined</span></td>
   <td role="gridcell"><span ng-bind="dataItem.Description" class="ng-binding">Fuel Economy</span></td>
   <td role="gridcell">
      <div class="wh-grid-name-link as-link" data-row="1">View Report</div>
   </td>
   <td role="gridcell"><span ng-bind="dataItem.Schedule" class="ng-binding">Yearly | November 17th | Every 1 months</span></td>
   <td role="gridcell">Multiple Recipient</td>
</tr>


Looks like this question has been asked before (http://www.telerik.com/forums/improve-angularjs-performance-for-read-only-grids) and the solution was to use jQuery code. Can Kendo create a native solution that allows us to solve this issue without using jQuery?

Thanks, Kalyan

Kalyan
Top achievements
Rank 1
 asked on 31 Mar 2016
1 answer
318 views

Is there a way to restrict the user to select a single event only? I am looking for something along the lines of Kendo Grid selection configuration

http://docs.telerik.com/kendo-ui/api/javascript/ui/grid#configuration-selectable

Kendo Scheduler selectable configuration allows the user to select multiple events for a particular resource but not across resources. 

Will the support for this be added in the future?

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 31 Mar 2016
1 answer
522 views
Hi..

I'm getting issue while exporting kendo grid data to PDF with more than 2000 records.I'm configuring default all Pages to true.

 Is there anything to avoid this issue.
Dimiter Madjarov
Telerik team
 answered on 31 Mar 2016
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
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?