Telerik Forums
Kendo UI for jQuery Forum
3 answers
162 views

Please help since we have no longer confidence in kendo and we might use another library of components. 

The custom validation on a numeric field is not working after using setOptions. In the setOptions we are adding new numeric fields with custom validation between 0 and 100.

The below is a sample that I tried to implement to show our case:

https://dojo.telerik.com/egawE

 

Thank you in advance

Stefan
Telerik team
 answered on 15 Dec 2017
3 answers
105 views

Why doesn't re-binding a grid re-bind all of the filters that are associated with it?!

I have a grid that is populated with an MVC call that gets all the requests for a department or departments. The department drop-down is a multi-select drop-down and the grid is populated on a button click that gets all department IDs from the drop-down and runs the MVC call. The filter works exactly one time. The first time the button is clicked. If I change the department(s) in the drop-down and run the call again. The grid refreshes with the new data, but the filter on the "Funding" column (happens to be a multi-select filter) still shows the values from the first time the grid was loaded.

Stefan
Telerik team
 answered on 15 Dec 2017
2 answers
272 views

Hi, my kendo version is 2017.3.1026, chrome version is  63.0.3239.84

I found that collapseGroup is not work ,

dojo example:https://dojo.telerik.com/Ehuru

you can see that only first row has been collapse....

but I want it collapse all rows, is this a bug?

Kiman
Top achievements
Rank 1
 answered on 15 Dec 2017
2 answers
618 views

I'm using the Selectable Columns with Checkboxes options.

As the documentation mentions, the header checkbox checks only the items in the current page. Is it possible to change this behaviour to select all items in the grid's collection regradless of curent pager size?

Preslav
Telerik team
 answered on 14 Dec 2017
1 answer
1.0K+ views

I have a datapicker:

 

<label class="required label-date" for="a-c">StartDate</label>
        <input id="a-c" class="k-datepicker" name="Date" required validationMessage="Write {0}" data-role="datepicker" data-bind="value: start, events: {change: OnChangeStart}" />

 

and a kendo validator with datapicker rules:

 

var validator = $("#form").kendoValidator({
         rules: {
           datepicker: function(input) {
             if (input.is("[data-role=datetimepicker]")) {
               return input.data("kendoDateTimePicker").value();
             } else {
               return true;
             }
           }
         },
         messages: {
           datepicker: "Please enter valid date!",
           required: " Required input"
 
         }
       }).data("kendoValidator");

 

validationMessage override the datapicker message.

I would not like to delete the Validation Message.

 

 

 

       

Georgi
Telerik team
 answered on 14 Dec 2017
1 answer
219 views

Hi, 

 

I'm wondering how can I read get the data from datasource before user click on the autocomplete widget. I have the following code:

 

 var ds = new kendo.data.DataSource({
            transport: {
                read: {
                    url: "../IndividualData/SalesPerson",
                    dataType: "json",
                    data: this.requestData()

                }
            },
            schema: { data: "data", total: "total" },
            pageSize: 50
        })
        this.autocomplete.setDataSource(ds);
        console.log(this.autocomplete.dataSource);

 

But it seems like I'm always getting empty datasource for  some reason. Can anyone help me?

 

Regards,

 

Yifan 

Ivan Danchev
Telerik team
 answered on 14 Dec 2017
1 answer
166 views
Hey, I understand that the default of the scheduler is that is user updates a recurrence series, the will be applied to all the exception too. Also if removes one occurrence from a series, when user series, a new occurrence will be created to fill in the spot. I was wondering there any configuration or tweak that I can use to leave the as it is when a series? e..g user changes the time of one occurrence. Then updates the title of the . The exception will still keep the updated time and the old title. And the exception is still linked to the series, so when users delete the series, the exception will be removed too. Thanks, Yinan
Veselin Tsvetanov
Telerik team
 answered on 14 Dec 2017
1 answer
824 views

Here i have grid with columns, when try to add a new record giving an error and following is the code.

$('#dcmMappingGrid').kendoGrid({
dataSource: response.DCMMappings,
schema: {
type: 'json',
parse: function (data) {
$.each(data.items, function (i, val) {
val.StartDate = toDate(val.StartDate);
val.EndDate = toDate(val.EndDate);
});
}
},

pageable: false,
height: 550,
toolbar: ['create'],
                
columns: [
{ field: 'DCMId', title: 'DCM Id', width: '120px', format: '{0: 0}' },
{ field: 'StartDate', title: 'Start Date', width: '120px', format: '{0: dd-MMM-yyyy}', template: '# if( false ) { #<span>#: kendo.toString(new Date(), "dd-MMM-yyyy")#<span># } else {#<span>#: kendo.toString(toDate(StartDate), "dd-MMM-yyyy")#<span>#} #', editor: startDateEditor },
{ field: 'EndDate', title: 'End Date', width: '120px', format: '{0: dd-MMM-yyyy}', template: '#= kendo.toString(toDate(EndDate), "dd-MMM-yyyy") #', editor: endDateEditor },
{ command: ['edit', 'destroy'], title: '&nbsp;', width: '250px' }],
editable: 'inline',
edit: function (e) {
//if (!e.model.isNew()) {

//}
},
detailTemplate: kendo.template($('#template').html()),
detailInit: detailInit
});

Please help to fix this.

advance thanks.

 

 

 

 

Stefan
Telerik team
 answered on 14 Dec 2017
1 answer
888 views

I need to download the contents of a div to a pdf. there are some currency symbols as unicode which are not getting rendered in the pdf

 

self.pdfPrint = function () {
            kendo.drawing.drawDOM($("#content"))
            .then(function (group) {
                return kendo.drawing.exportPDF(group, {
                    paperSize: "auto",
                    margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" }

                })
            })
            .done(function (data) {
                kendo.saveAs({
                    dataURI: data,
                    fileName: "file.pdf",
                });
            });
        }

Ivan Danchev
Telerik team
 answered on 14 Dec 2017
3 answers
975 views

How to change placeHolder of search textbox in the multiselect?

 

 

Ivan Danchev
Telerik team
 answered on 13 Dec 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?