Telerik Forums
Kendo UI for jQuery Forum
1 answer
380 views

Filter event is not firing in your demo.

The GridOptions interface in TypeScript definition files is also missing filter definition.

Dimiter Madjarov
Telerik team
 answered on 17 Sep 2016
1 answer
189 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
305 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
112 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
139 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
812 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
524 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
192 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
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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?