Telerik Forums
Kendo UI for jQuery Forum
1 answer
561 views
Is there a way to use inline edit when creating a new row, and incell edit for all other editing? I want to use incell editing without batch editing so that changes are immediately written back to the server, but when a new record is created, it gets committed to the db as soon as you click from the first field to the second, which leaves a scenario where there is a record with only part of the data. I can stop this from getting committed on the backend, but then there is no visual cue for the user that the row was not committed.
Boyan Dimitrov
Telerik team
 answered on 28 Apr 2017
3 answers
1.2K+ views

I have a multiselect that list selection is too much value, so I use virtual to load them. I suppose that I load each 80 items, I select the first item to multiselect, then select the 85th item. After I reload the page contain multiselect, only the first item is selected. The multiselect value still has 2 items that I selected, but only 1 is shown to the textbox.

How to fix this issue? Thanks!

Ivan Danchev
Telerik team
 answered on 28 Apr 2017
3 answers
1.1K+ views

Hi,

 

how can I get the plain text corresponding to the Editor's value?

 

Thanks

Ivan Danchev
Telerik team
 answered on 28 Apr 2017
2 answers
272 views

A really simple angular-cli project, the only thing changed after ng new is installing kendo-ui, @types/kendo-ui and @types/jquery and then adding jquery and kendo-ui to types in tsconfig-app.json

Then use this for the app.component.ts

import { Component, OnInit } from '@angular/core';
import * as $ from "jquery";
import '@progress/kendo-ui/js/kendo.scheduler';
@Component({
    selector: 'app-root',
    template: `<div id="scheduler"></div>`
})
export class AppComponent implements OnInit {
    public ngOnInit(): void {
        let scheduler = $("#scheduler").kendoScheduler({
            date: new Date("2013/6/13"),
            startTime: new Date("2013/6/13 07:00 AM"),
            views: [
                "day",
                { type: "workWeek", selected: true },
                "week",
                "month"
            ]
        }).data("kendoScheduler");
         
        console.log(scheduler.view()); //undefined
        scheduler.view("month");
        console.log(scheduler.view());
    }
}

 

The problem is that when not explicitly set, scheduler.view() is undefined, then when set, it works as expected.

I would expect it to be set to whatever the calendar has as selected view, and this is how it works when using the system.js version of kendo-ui, so something seems really fishy here since I would assume the codebase is the same between the system.js and npm(amd) versions.

I have not been able to completely rule out angular-cli here, since I cannot get the system.js version of kendo-ui to work in angular-cli, and I have not tried getting the npm version to work in a system.js based build system yet.

Plamen
Telerik team
 answered on 28 Apr 2017
1 answer
281 views

Is there a way to scroll to the top when the Active Sheet changes?

Preferably also set the active cell.

Currently if you have scrolled down a sheet and then change to another sheet the scroller stays in that scrolled down position. Seems to me like it should scroll back to the top of the new active sheet.

Nencho
Telerik team
 answered on 28 Apr 2017
3 answers
227 views

Hello,

The k-nav-day directive is not working in "timelineMonth" view.

Dojo : http://dojo.telerik.com/IyEmA

Expected : A click on a date in the "timelinemonth" view should change the view to "dayview."

Actual : A click on a date in the "timelinemonth" do nothing.

 

Thank you,

SLM

Veselin Tsvetanov
Telerik team
 answered on 28 Apr 2017
1 answer
145 views

I have a global sales application where sales staff work on accounts around the globe.  They are asking to see the currency in the format for the country within the same grid.

Example:

Joe's Garage, $1,000.00

Fredreich's Gasthouse, â‚¬2.000,00

Elizabeth's Castle, Â£50.000.000,00

 

Is this possible?

Stefan
Telerik team
 answered on 28 Apr 2017
1 answer
384 views

Hello,

I was wondering if there is a way to show the most recently added item in a Kendo DropDownList which is bound to a remote datasource (from a database, via an MVC action controller).

I tried the following approach: in the same event that adds the item, once it is added, I try to set the DropDownList.select method with the value of the last index; however, this fails, and I get some warning about a synchronous XMLHttpRequest.

According to the research I have conducted, this happens because the script is trying to assign the index to the select method way too quickly, when the dataSource has not really been updated yet. If I try to assign the select method to a previous index (e.g. i - 1) and it does so without issue (showing the second-to-last item in the list). I assume this is because the item already exists in the database and thus there are no sync issues.

I appreciate any ideas you guys can share regarding this issue.

Thanks!

Stefan
Telerik team
 answered on 28 Apr 2017
3 answers
2.3K+ views

Hi,

 

     I've a custom template to delete, download uploaded files. I would like to clear the deleted file from the upload control list after calling the 'deleteFiles' JS function in my code. Please do let me know how to achieve this. Thanks.

 

Code snippet:

<script id="fileTemplate" type="text/x-kendo-template">
    <span class='k-progress'></span>
    <div >
        <label class="control-label">Name: #=name#</label>
        <button type='button' class='btn btn-primary glyphicon glyphicon-remove pull-right' id="deleteFile" onclick="deleteFiles('#=name#', '#=files[0].extension#')"></button>
        <button type='button' class='btn btn-primary glyphicon glyphicon-download pull-right' id="downloadFile" onclick="downloadFiles('#=name#')"></button>
        @*<span class='file-icon #=addExtensionClass(files[0].extension)# pull-right'></span>*@
        @*<p class='file-heading file-size-heading'>Size: #=size# bytes</p>*@
    </div>
</script>

Ivan Danchev
Telerik team
 answered on 28 Apr 2017
5 answers
1.2K+ views

Hello All,

I have the following groupFooterTemplate:

groupFooterTemplate: '<div style="text-align: right;">#=data.col01.group.value# #=kendo.toString(sum, "n0")#</div>'

 

It works perfectly, but when I export to Excel, I get the following error:

VM49544:3 Uncaught TypeError: Cannot read property 'value' of undefined
    at Object.eval [as groupFooterTemplate] (eval at compile (kendo.all.js:194), <anonymous>:3:131)

What am I doing wrong?

Cheers.

Edo.

Eduardo
Top achievements
Rank 1
 answered on 27 Apr 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
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
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?