Telerik Forums
Kendo UI for jQuery Forum
9 answers
828 views

i use the the window widget and when the window is active/open - there are no css styles available attached to the content template inside the window.

even the bootstrap theme is not available inside the window widget.

i simply open the window like this:
<div id="win1" kendo-window="windowWidget" k-options="windowWidget"></div>

... inside a view, in which the boostrap css files are available. 

 

the config object looks like this:
windowWidget= {
            width: "80%",
            height: "80%",
            modal: true,
            visible: false,
            title: "lalalal",
            actions: ["Maximize", "Close"],
            animation: {
                close: false,
                open: false
            },
            content: "./././window.view.html"
        }

do i miss something inside the config object?

 

thanks
werner

                            

Vasil Yordanov
Telerik team
 answered on 24 Dec 2015
1 answer
283 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
220 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
238 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
233 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
236 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
178 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
209 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
686 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
215 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
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?