Telerik Forums
Kendo UI for jQuery Forum
1 answer
280 views

I am using the angular version of the kendo spreadsheet control:

 <kendo-spreadsheet></<kendo-spreadsheet>

 Whenever, I click on some of the buttons like Undo, Redo, the buttons are causing the page to redirect to a new location. Any ideas?

Alex Gyoshev
Telerik team
 answered on 24 Dec 2015
1 answer
216 views

I have been trying to add Data Validation to a cell. I have chosen "List" as my validation type, but I have not been able to figure out how I should enter the list in the text box to get it to work.

 I have tried the following:

New, Deleted, Existing

'New', 'Deleted', 'Existing'

['New', 'Deleted', 'Existing']

What is the correct format to use for the List option in Data Validation?

Alex Gyoshev
Telerik team
 answered on 24 Dec 2015
1 answer
237 views

Hello
Some questions, I will be very grateful for any help:
1. How make drill down in window
2. Problem with rename http://screencast.com/t/TH7dkhdDV8Xe
3. Problem with filtration http://screencast.com/t/gGdrgyGkKYl 

@(Html.Kendo().PivotConfigurator().Name("configurator").Height(770).HtmlAttributes(new { @class = "pivot-configurator" }).Filterable(true).Sortable())
    @(Html.Kendo().PivotGrid<CertificateDeath>().Name("CertificateDeathPivotGrid").Sortable().Configurator("#configurator")
                      .ColumnWidth(120).Height(770).HtmlAttributes(new { @class = "pivot-grid" })
                      .Excel(excel => excel.FileName("Свидетельство_о_смерти.xlsx").Filterable(true).ProxyURL(Url.Action("ExcelExport", "CertificateDeath")))
                      .DataSource(dataSource => dataSource
                          .Ajax()
                          .Transport(transport => transport.Read("GetList", "CertificateDeath"))
                          .Schema(schema => schema
                                   .Model(m => m.Field("FIO", typeof(string)).From("People.NameShort"))
                                   .Cube(cube => cube
                                      .Dimensions(dimensions =>
                                      {
                                          dimensions.Add(model => model.IssuanceDate).Caption("Date issuance");
                                          dimensions.Add(model => model.Status).Caption("All status");
                                      })
                                      .Measures(measures => measures.Add("Count").Field(model => model.Id).AggregateName("count"))
                              ))
                          .Columns(columns => { columns.Add("Status").Expand(true); }).Events(e => e.Error("onError"))
                          //.Rows(rows => rows.Add("ContactTitle").Expand(true))
                          .Measures(measures => measures.Values("Count"))
                          ).Filterable(true)
                         .Pdf(pdf => pdf.FileName("Свидетельство_о_смерти.pdf").ProxyURL(Url.Action("PdfExport", "CertificateDeath"))
      ))

Kiril Nikolov
Telerik team
 answered on 24 Dec 2015
3 answers
231 views

Could you please guide me how to use localization together with require js.

 Following code produces error:

 window.require(
            [
            "kendo/kendo.menu.min",
            "kendo/kendo.router.min",
            "kendo/kendo.notification.min",
            "kendo/kendo.window.min",
            "kendo/cultures/kendo.culture.en-GB.min",
            "kendo/messages/kendo.messages.en-GB.min"
            ], function() {
               
                window.kendo.culture("en-GB");

                console.log("culture", window.kendo.culture());              
            });

 The error is:

TypeError: kendo.ui is undefined Scripts/Kendo/messages/kendo.messages.en-GB.min.js?ver=1450788192741

Rest of config is working.

 

 

Alexander Valchev
Telerik team
 answered on 24 Dec 2015
4 answers
231 views

Hello,

 I am having issues with the aggregate result returning incorrect values. 

this.data = new kendo.data.DataSource({
    transport: {
        read: (e) => {
            ....
        }
    },
    schema: <kendo.data.DataSourceSchemaWithOptionsModel> {
        data: 'Data',
        model: <kendo.data.DataSourceSchemaModelWithFieldsObject> {
            fields:  {
                Foo: {
                    type: 'number',
                    editable: false,
                    parse: x => x.toFixed(2)
                },
                Bar: {
                    type: 'number',
                    editable: false,
                    parse: x => x.toFixed(2)
                },
                Qux: {
                    type: 'number',
                    editable: false,
                    parse: x => x.toFixed(2)
                }
 
            }
        }
    },
    aggregate: [
        { field: 'Foo', aggregate: 'average' },
        { field: 'Bar', aggregate: 'average' },
        { field: 'Qux', aggregate: 'average' }
    ],
    sort: {
        field: 'TimeSlot',
        dir: 'asc'
    }
});
 
console.log(this.data);

This returns the last row of data returned ie:

this.data._aggregateResult:

    Foo.average: 19

    Bar.average: 90

    Qux.average: 100

 and this.data._data[this.data._data.length] contains:

    Foo: 19

    Bar: 90

    Qux: 100

Instead of creating the average/max/min/sum the aggregate just returns data from the last object in the list.

Kiril Nikolov
Telerik team
 answered on 24 Dec 2015
3 answers
176 views

I am very jealous of page real estate. I would like to put buttons to the right of tabs. Potentially, changing them with which tab has focus.

Any idea how this could be done?

Thanks,

Rick

Konstantin Dikov
Telerik team
 answered on 24 Dec 2015
3 answers
205 views

Hi,

 

I have recently downloaded the trial version of KendoUI html 5 UI tool and trying to use grid in my existing project where we have to show grouping. paging and sorting server side but I am unable to do grouping by server side.

My backend server is created using WCF which calls a stored procedure having group as one of parameter.

 

Can you assist me how to implement your control in this case as I found multiple example using MVC which I dont have.

 

Thanks

Rohit


 

 

Alexander Valchev
Telerik team
 answered on 24 Dec 2015
1 answer
673 views

Hi,

 I'm having some issues when using multiple series with the labels set to visible:true.

 The labels from one series can overlap the labels of the second series.

 I would post a dojo, but i'm having problems logging into dojo.

 

If you use the dojo from the multiple axis demo: http://demos.telerik.com/kendo-ui/bar-charts/multiple-axes

then add

seriesDefaults: {
                labels: {
                    visible: true
                  }
                },

you'll see the label overlap.

Is there a way for this to be avoided?

Vasil Yordanov
Telerik team
 answered on 24 Dec 2015
3 answers
205 views

I am trying to create a new Kendo DataSource, but my data does not contain anything even though my result.data is an array of 14 items.

01.shipmentService.getBasicChartData(request)
02.   .then(function (result) {
03.      var dataSource = new kendo.data.DataSource({
04.          data: result.data,
05.          sort: {
06.              field: "date",
07.              dir: "asc"
08.          },
09.          schema: {
10.              model: {
11.                  fields: {
12.                      date: {
13.                          type: "date"
14.                      }
15.                  }
16.              }
17.          }
18.   });

Why is my data not being assigned? My sort item seems correct.
Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 23 Dec 2015
4 answers
311 views

As many developers probably have before me, considering when building an app with AngularJS and Kendo UI if I should use the Kendo UI Datasource "all the way" or instead mix it with Angulars $http/$resource. Or to be more specific, how to handle transfer of data to and from the Kendo UI datasource, as the Datasource would probably be used no matter what as it plays nice with the Kendo UI widgets. As of now we've build (kind of) a service that returns a Kendo UI Datasource complete with URLs for read, update, create, destroy and model/schema info so we don't have to have that code in our controllers (or even worse, views) which work fine but we are considering if we should change that to a more AngularJS like services using $http or $resource. But we are a bit wary of what kind of problems we might run into in the future by doing so. At the same time, having a "pure" AngularJS handling of data is also tempting. 

 

It would be nice if Telerik could provide some summary of pros and cons of using each method, what to look out for and what might not work if using $http/$resource compared to the "normal" Kendo UI way. 

 

Alexander Valchev
Telerik team
 answered on 23 Dec 2015
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?