Telerik Forums
Kendo UI for jQuery Forum
1 answer
179 views

Export to PDF takes long time to download in case case of large data.

Thanks.

Dimiter Topalov
Telerik team
 answered on 17 Sep 2016
2 answers
278 views

when the first time generate the grid with data is fine but once i select another type id then it cause the problem happen on the grid. The second image will show the problem.

Code :http://jsbin.com/wasalutugo/edit?js,output

Dimiter Topalov
Telerik team
 answered on 17 Sep 2016
1 answer
100 views

Hi. In the standard Kendo Datasource usage with a scheduler (partial code), 

dataSource: {
                        batch: true,
                        transport: {
                            read: {
                                url: baseURL + "api/events",
                                dataType: "jsonp",
                                type: "GET",
                                contentType: 'application/json; charset=utf-8'
                            },
                            update: {
                                url: function (options) {
                                    var model = {
                                        taskId: 1,
                                        title: "test title",
                                        start: null,
                                        end: null,
                                        startTimezone: null,
                                        endTimezone: null,
                                        description: null,
                                        recurrenceRule: null,
                                        isAllDay: false
                                    };
I'd like to be able to access the values from the popup editor and throw them in the model. See all the nulls as placeholders above...I know this isn't standard protocol of doing things but...I'm just wondering, can it be done, and how?

Michael
Top achievements
Rank 1
 answered on 16 Sep 2016
3 answers
133 views

Hello,

I would like DatePicker to validate obviously invalid user input, but it doesn't happen. Why?

I use the following code:

<input type="text"/>
 
<script>
    kendo.culture("en-GB");
    $('input').kendoDatePicker();
 /script>

 

Here is it in dojo:  http://dojo.telerik.com/IHoSa

 

What are the steps to enable validtion of user's input?

 

Thanks

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 16 Sep 2016
5 answers
772 views

Hello

I'm using Kendo UI with Symfony and so far it works perfectly. Only when I check my code with Kendo's chrome extension, I get some warnings like

VM235:545 Detected Kendo UI version: "2014.3.1119"
VM237:170 Kendo UI is included before jQueryVM237:170 (anonymous function)VM237:169 (anonymous function)VM237:148 req.onreadystatechange
VM237:170 jQuery does not seem to be includedVM237:170 (anonymous function)VM237:169 (anonymous function)VM237:148 req.onreadystatechange
VM237:170 Kendo CSS file kendo.bootstrap.min_2.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.common_3.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.common_2.css loaded before kendo.common CSS
VM237:170 Kendo CSS file kendo.bootstrap.min_3.css loaded before kendo.common CSS
VM237:170 The kendo.common CSS file is not included

I tried to change the load order of the files, but the warnings remain. As mentioned already, everything works fine. Should I bother?

Thank you

T. Tsonev
Telerik team
 answered on 16 Sep 2016
2 answers
1.5K+ views

I want to set data with data method(data), but I want to tell different total that is the size of array. Something like this:

dataSource.data({ data: this.asArray, total: this._rowCount});

How can I do that without setting transport option?

Seyfor
Top achievements
Rank 1
 answered on 16 Sep 2016
1 answer
1.3K+ views
I am writing this below. I am able to get the StartDate field value in my case, but I am not able to get EndDate field value. It is coming as undefined. Please help.

model: {
                 id: "BusinessAreaDivisionMappingId",
                 fields: {
                     BusinessAreaDivisionMappingId: { type: "number", editable:false,     nullable: false },
                     StartDate: {
                         type: "date",
                         required: true,
                         validation: {
                             required: true,
                             dateComparisonValidation: function (element) {
                                 debugger;
                                 var columnIndex = 0;
                                 var grid = $("#bAPLMappingGrid").data("kendoGrid");
 
                                 for (columnIndex; columnIndex < grid.columns.length; columnIndex++) {
                                     if (grid.columns[columnIndex].field == "EndDate") {
                                         break;
                                     }
                                 }
                                 var StartDate = new Date($(element).data("kendoDatePicker").value());
                                 var EndDate = new Date($(element).closest("tr").find("td:eq(" + columnIndex + ")").text());
                                 element.attr("data-dateComparisonValidation-msg", "Start Date Cannot be more than End Date");
                                 if (StartDate && EndDate)
                                     return (StartDate >= EndDate);
                                 return true;
                             }
                         }
                     },
                     EndDate: { type: "date" },
                     IsDeleted: { type: "boolean", editable: false, nullable: true }
                 }
             }
Konstantin Dikov
Telerik team
 answered on 16 Sep 2016
1 answer
508 views

I need column with checkboxes as column content. I found this code.

My template:

{
    field : "Select",
    template: (dataItem) =>
    {
        return `<input type="checkbox" />`;
    }
},

But how can I track when input checked is changed? Is it possible to return JQuery instead of string? I need to react immediately after checked is changed. Example in code I found use another event to check checkboxes checked property.

Konstantin Dikov
Telerik team
 answered on 16 Sep 2016
5 answers
165 views

Hi,

I have a problem with the Kendo grid when i click on a row for select it.When it's at border between the grid's bottom, it's shift up and don't select it. 

e.g : 

http://dojo.telerik.com/@muadhib/opena

Click on the line Brazil (Freight : 58.17, Order date : 10/07/1996), the line shift up at the third position. Be warn, a new line Brazil appears a last row, but it's not the one i want ! (In my case, my window is in resolution 900x 607 and i'm using Chrome)

 

I seems to be caused when the grid is on scrollable: { virtual: true }.

 

Any body have the same problem ? What do i wrong ?

 

Thx

Konstantin Dikov
Telerik team
 answered on 16 Sep 2016
1 answer
213 views

I'm using the Northwind·Dash demo to create my dashboard.

The problem is when I uses the navbar code in my html and link the Site.css

<div class="container-fluid">
            <!--open container-->
            <div class="row row-offcanvas row-offcanvas-left">
                <!--open row-->
                <div id="nav-section" class="col-xs-12 column">
                    <!--open nav column-->
                    <div class="navbar-default">
                        <button id="toggle-button" type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                            <span class="icon-bar"></span>
                        </button>
                    </div>
                    <h1 id="dash-logo" class="center-block">Northwind&#183;Dash</h1>
                    <div class="collapse navbar-collapse" id="sidebar-nav" role="navigation">
                        <ul class="nav">
                            <li id="regional-sales-status">
                                <a href="index.html">
                                    <span class="icon icon-chart-column"></span>Regional Sales Status</a>
                            </li>
                            <li id="products-and-orders">
                                <a href="products-orders.html">
                                    <span class="icon icon-star-empty"></span>Products & Orders</a>
                            </li>
                            <li id="team-efficiency">
                                <a href="team-efficiency.html">
                                    <span class="icon icon-faves"></span>Team Efficiency</a>
                            </li>
                            <li id="about">
                                <a href="about.html">
                                    <span class="icon icon-info"></span>About</a>
                            </li>
                        </ul>
                        <div id="rights">
                            <p>Copyright © 2016, Progress Software Corporation and/or its subsidiaries or affiliates. All Rights Reserved.</p>
                        </div>
                    </div>
                <!--close main column-->
            </div>
            <!--close row-->
        </div>
        <!--close container-->

The navbar will not be full height in my page.

And if I add a new li tag in navbar, there will be a new transparent bar.

What's wrong with this problem?

 

Kiril Nikolov
Telerik team
 answered on 16 Sep 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
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?