Telerik Forums
Kendo UI for jQuery Forum
2 answers
198 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
242 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
176 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
106 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
347 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
380 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
321 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
1 answer
170 views

Hi,

I am trying to implement multirow headers in the jquery spreadsheet widget.

Please refer to the attached excel screenshot of what i am trying to do.

All the examples i see render the data directly through sheets.rows.cells configuration.

But I am binding the data from a datasource and setting the custom column headers using setDataSource function.

Everything is rendering fine with the custom column headers in row 1 and the date from row 2 onwards.

But I want to set a header for I2 to L2 and M2 to P2 in row 1 and then my custom column headers in row 2 and the data from row 3.

Can you please point me to the correct way of implementing this.

Bozhidar
Telerik team
 answered on 05 Jun 2017
1 answer
442 views

I'm having difficulty using the autoComplete in a popup editor template.when the datasource for the autocomplete has separate value and text fields.

This example works fine if we use the firstName for both the data-value-field and data-text-field.

However, if we change the datasource to include a "fullname" property:

var autoCompleteDS = new kendo.data.DataSource({
    data: [
        {firstName: "Alex", fullName:"Alex Smith"},
        {firstName: "Alice", fullName:"Alice Smith"},
        {firstName: "Antony", fullName:"Antony Smith"},
        {firstName: "Anne", fullName:"Anne Smith"},
        {firstName: "Anna", fullName:"Anna Smith"}
    ]
});

 

And configure the autocomplete to reference this property:

<input name="FirstName"
        data-bind="value:FirstName"
        data-value-field="firstName"
        data-text-field="fullName"
        data-source="autoCompleteDS"
        data-role="autocomplete" />

 

When we add a record, the record's firstName field is set to the fullName.  I obviously have the binding specified incorrectly but I can't figure out what I've done wrong.

 

Thanks,

Todd

 

 

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