Telerik Forums
Kendo UI for jQuery Forum
2 answers
283 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
640 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
228 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
178 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
835 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
908 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
997 views

How to change placeHolder of search textbox in the multiselect?

 

 

Ivan Danchev
Telerik team
 answered on 13 Dec 2017
6 answers
1.0K+ views
When tabbing to the editor from another input field, the focus first goes to the buttons (bold, italic, etc) instead of giving focus to the actual editable area.

Is there a workaround to this?
Ivan Danchev
Telerik team
 answered on 13 Dec 2017
1 answer
3.1K+ views

I have a grid with columns name, status and updatedAt. Status column as editable and has dropdown values. When a user update status value, I have called the rest api for doing some business logic and returns response with an updated date. I want to update that date in updatedAt column.

Please help me to achieve this.

Preslav
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
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?