Telerik Forums
Kendo UI for jQuery Forum
1 answer
69 views

Hi

 

We are using kendo ui grid.

We have regular grid and sub grid, with collapse / expand icons, so when expanding we are viewing the detail grid

Similar to "http://demos.telerik.com/kendo-ui/grid/detailtemplate", but using different style.

Since upgrading to chrome 56, the collapse / expand icons disappeared so we can't use this ability.

Any suggestions?

 

Viktor Tachev
Telerik team
 answered on 20 Feb 2017
1 answer
217 views

Hi,

I've been trying to get a selected dropdown option to appear in a Word Document on export.
The current default behavior is that all option tags appear in the exported document with no indication of which was selected. (This makes sense that this behavior would occur since the export function is simply exporting all the html as plain text).

So far, these are the approaches I've tried (none of which work):
-Capture the export event before it is sent to the controller via the javascript execute event (thus being able to strip out any unwanted text). The issue is the execute event and exportas event are asynchronous, so I can't modify the file before the export event call is executed.

-Modify the text on the controller side before it is converted to a Word document and downloaded (the text is sent through without special characters, which makes it nearly impossible to parse)

-Attempt to replace the dropdown with a kendo autocomplete widget (this would also be an acceptable solution). The widget does not render properly inside the document. All of the datasource options are there and even filters corretly, but it does not style correctly or open.

 

Has anyone else been able to find a solution to this problem or have another approach I could use?

-Noel

 

Ianko
Telerik team
 answered on 20 Feb 2017
1 answer
731 views

Hi all,

I have an issue with AutoComplete widget when I try to style it as "INPUT WITH ICON ON THE LEFT" (you can find an example here http://demos.telerik.com/kendo-ui/styling/index )

Clear value cross is on the left instead to be on the right!

You can use code below to reproduce the issue.

There's anything I can do to resolve this issue?

Many thanks,

Emanuele

<div class="demo-section k-content">               
  <span class="k-textbox k-space-left" style="width: 100%;" >
    <a href="#" class="k-font-icon k-icon k-i-marker-pin"> </a>
    <input id="countries" style="width: 100%;" />
  </span>               
</div>
 
<script>
    $(document).ready(function () {
        var data = [ "Italy", "Vatican City" ];
 
        $("#countries").kendoAutoComplete({
            dataSource: data,
            filter: "startswith",
            placeholder: "Select country...",
            separator: ", "
        });
    });
</script>
Joana
Telerik team
 answered on 20 Feb 2017
2 answers
66 views

I am using Kendo UI v2015.1.318, specifically the kendo.web.js.

A requirement I have is to support IE8. While my code works  on Chrome, Firefox, IE9-11, it breaks on IE8 during aggregation in a grid.

This is the datasource for the parent grid:

 

var parentSource = new kendo.data.DataSource({
    transport: {
        read: function (e) {
            readData(e, true);
        }
    },
    schema: {
        model: {
            id: "ID",
            fields: {
                Title: { type: "string" },
                Budget: { type: "number" },
                Planned: { type: "number" },
                Approved: { type: "number" }
            }
        }
    },
    aggregate: [
        { field: "Approved", aggregate: "sum" },
        { field: "Planned", aggregate: "sum" },
        { field: "Budget", aggregate: "sum" },
    ]
});

 

This is the shortened grid definition:

 

$(function () {
    $.when(
    ).then(function (data) {
        /**do some more stuff*/
    }).then(function (data) {
        $("#CostGrid")
        .kendoGrid({
            dataSource: parentSource,
            dataBound: gridDataBound,
            detailInit: loadChildGrid,
            detailExpand: expandParentRow,
            detailCollapse: collapseParentRow,
            sortable: true,
            filterable: true,
            columns: [
                { field: "Title", title: "Cost Type" },
                //{ field: "ConvRate", title: "Conv Rate" },
                { field: "Planned", title: "Planned (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" },
                { field: "Budget", title: "Budget (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" },
                { field: "Approved", title: "VOWD (LCY)", aggregates: ["sum"], footerTemplate: "Total: #=sum#" }
            ],
            filter: { field: "Budget", operator: "gt", value: 0 }
        });
    });
});

 

 

The point where it breaks is 

 

function buildEmptyAggregatesObject(aggregates) {
        var idx,
            length,
            aggregate = {},
            fieldsMap = {};
 
        if (!isEmptyObject(aggregates)) {
            if (!isArray(aggregates)){
                aggregates = [aggregates];
            }
 
            for (idx = 0, length = aggregates.length; idx < length; idx++) {
                aggregate[aggregates[idx].aggregate] = 0;
                fieldsMap[aggregates[idx].field] = aggregate;
            }
        }
 
        return fieldsMap;
}

 

 

On all browsers, except IE8 the aggregates object is an array of objects with length 3, which is correct, since I have defined 3 columns to sum up. On IE8 the length is 4, and the for-loop breaks, because aggregates[3] is undefined.

 

What causes this behaviour and how can I fix this?

Stefan
Telerik team
 answered on 20 Feb 2017
2 answers
120 views

Hello,

    Currently, we're having the performance issue, because of using the large count of GeoJson data (for about 33k poligons). It creates a lot of shapes and then, the performance decreases to the unused level. The possible solution could be loading shapes only for the visible area, but It isn't desired behavior. Any ideas, how can we resolve this issue (may be, the map has the light version of rendering like chart "renderAs")? 

Elvis
Top achievements
Rank 1
 answered on 19 Feb 2017
4 answers
149 views

Hello guys, 

    We found the issue, related to MVVM usage of DropDownList widget. The popup option doesn't seem to work. Moreover, the kendo initializer doesn't see at all for this property. Here is the dojo link: http://dojo.telerik.com/OyozO/2 

Elvis
Top achievements
Rank 1
 answered on 19 Feb 2017
16 answers
1.7K+ views
Menu open beneath the window dojo.
I don't think this is wanted behaviour.
Dimo
Telerik team
 answered on 17 Feb 2017
1 answer
87 views

Hello there.  

After figuring out that client-side events (e.g., dataBound) do not work with server binding, I'm left wondering what is the best way to apply row styles based on row values with server binding.

For example, if an integer value in a row (salesAmount) is below a certain threshold, how would I apply a particular style to that entire row?

(ref: http://www.telerik.com/forums/databound-event-doesn-t-fire-if-server-binding-is-used)

Stefan
Telerik team
 answered on 17 Feb 2017
1 answer
390 views

Hi, 

 

We are using Kendo UI Scheduler. I am looking for a way to disable the navigation buttons incase user has reached the last or first date of scheduler. 

 

Regards, 

 

Nitin Jain

Nencho
Telerik team
 answered on 17 Feb 2017
3 answers
215 views

Hello All, 

I have created a Kendo Graph with negative values. In this graph the x-axis is over lapping when the values are bug in number. 

http://dojo.telerik.com/ukErA

How can i avoid this type of overlapping. Is there a way to set the padding dynamically based on the value coming in?

Please provide inputs

Thanks, 

Aditya

Iliana Dyankova
Telerik team
 answered on 17 Feb 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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?