Telerik Forums
Kendo UI for jQuery Forum
4 answers
169 views

When click schedule will call editable like the picture 

Can I change the click event to call the other view?

And how to get the parameter like date?

宏吉
Top achievements
Rank 1
 answered on 07 Jun 2017
2 answers
188 views

Just ran into a wacky bug...

We have a data model where the ID field "ThisThatID" we configured a ListView with a datasource with "autoSync: true". We can read and delete fine, but when we added an item to the datasource, we noticed that the create call was never made, despite the data source showing the new item added, and it's dirty flag as false. We tried manually calling sync but to no avail.

We tried various things, but nothing seemed to work, so we took a gamble and renamed our model's ID field to simply "ID", and updated the ds config. Then boom - it worked. No changed except renaming our ID field from "ThisThanID" to "ID" in both the DS config and the actual model object.

Using the latest kendo 2017.2.

 

Sample ds config: 

{
            autoSync: true,
            transport: {
                create:{
                    type: 'POST',
                    url: App.root + 'api/blah/'
                },
                read: {
                    url: App.root + 'api/blah/'
                },
                destroy: {
                    type: 'DELETE',
                    url: App.root + 'api/blah/'
                }
            },
            schema: {
                model: {
                    id: "ThisThatID"
                }              
            }
        }
Christopher
Top achievements
Rank 2
Iron
 answered on 06 Jun 2017
2 answers
191 views

Hi

Is it possible to enforce dependencies in kendo Gantt?

I.e. when a task is updated its dependent tasks will be moved and changes will propagate through summary tasks etc.

Thanks in advance.

Gary

Gary
Top achievements
Rank 1
 answered on 06 Jun 2017
1 answer
236 views

I have a problem with the export to XLS functionality.

I'm trying to export all pages to XLS from my grid but what I'm getting is only the first page. Is doesn't matter on which page I'm currently on, export to XLS always sets the page to 1 and it doesn't export other.

I using the same mechanism for export to PDF and I don't have any issues. I see this export functionality goes from page 1 to the last page and generates the PDF.

I tried with different Kendo UI versions but the result is the same.

Please advise if you had similar issues.

Thanks,
Tomasz

Pavlina
Telerik team
 answered on 06 Jun 2017
1 answer
169 views

Say I create a new surface:

var surface = draw.Surface.create($("#surface"));

 

Now in a different part of the program I want get that existing surface.  In other kendo widgets I can do for example $("#surface").data("kendoGrid")

 

but I can't seem to figure out how to do the same thing with a drawing surface.

Ivan Danchev
Telerik team
 answered on 06 Jun 2017
2 answers
3.8K+ views
Is it possible to have multiple header rows like the following attached image?

Thanks,
Dimo
Telerik team
 answered on 06 Jun 2017
2 answers
96 views

I was using the MVC Sample app to build our usage of the TreeMap, and we couldn't get the Color Range to work on the map like is shown in this demo

MVC TreeMap Demo

Then we dug through the JS samples and realized the color range was set as an option in the sample. I believe the MVC sample could use this to improve the user experience of starting with code that looks like what is shown. 

.Colors(color =>
{
    color.AddRange("#0072c6", "#cbe2f3");
    color.AddRange("#5db2ff", "#deeffe");
    color.AddRange("#ff8f32", "#cbe7d0");
    color.AddRange("#82ba00", "#e5f0cb");
    color.AddRange("#ff8f32", "#fee8d5");
    color.AddRange("#9e0a61", "#eccedf");
    color.AddRange("#ac193d", "#eed0d7");
})

Thank you

NerdBrick
Top achievements
Rank 1
 answered on 05 Jun 2017
8 answers
339 views

Hello,

We've found out browsers cannot handle more than about 4,000 rows, so we are enabling server pagination. We have the following configuration:

01.var newDs = new kendo.data.DataSource({
02.    transport: {
03.        // read: gridLoadCall
04.        read: function (options) {
05.            gridLoadCall += "&page=" + options.data.page + "&pageSize=" + options.data.pageSize
06.            $.ajax({
07.                url: gridLoadCall,
08.                datatType: "json",
09.                success: function (result) {
10.                    options.success(result);
11.                },
12.                error: function (result) {
13.                    options.error(result);
14.                }
15.            });
16.        },
17.    },
18.    update: function (e) { return true; },
19.    serverPaging: true,
20.    pageSize: 4000,
21.    serverSorting: true,
22.    schema: {
23.        total: function (response) {
24.            console.log("total: " + 165502);
25.            return 16502;
26.        },
27.        model: {
28.            ...

(The total number of records is hardcoded because we are testing at this stage and we know the result set size beforehand).

The first page of data is displayed correctly, and the navigation bar is displayed, but empty. That is, on page 0, with no page buttons, back/forward buttons are not responding, and the message "No records" is displayed.

Any help, very welcomed.

Edo.

Eduardo
Top achievements
Rank 1
 answered on 05 Jun 2017
1 answer
364 views

Hello,

I have the below Use Case where:

I need to pass the application specific parameters to the server with proxy enabled.

Below is the sample code that has the proxyParameters. Using these proxyParameters I would be processing the pdf document on the server.

$("#editor").kendoEditor({
     tools: ["pdf"],
     pdf:{
  filename: "MyDocument.pdf",
  proxyURL: "/myProxyURL",
  proxyParameters: myParameter,
  forceProxy: true,
  paperSize: "auto"
     },
  pdfExport:function(e){
  e.preventDefault()
  }
});

Could you please help?

Ianko
Telerik team
 answered on 05 Jun 2017
1 answer
307 views

Hello,

A Angular Custom Directive that is use with the k-ng-model, stop to work after the Kendo UI v2016.3.xxxx version, but it was use to work with the Kendo UI 2015.3.xxxx version.

When is used only "ng-model" instead of the "k-ng-model, the error vanish, but a a new kind o error start, the word typed is salved with weird caracters like these: "&alt;strong&gt;test&alt;/strong&gt;", however the correct would be save like this way: <strong>test</strong>.

Thank you!

 

Ianko
Telerik team
 answered on 05 Jun 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?