Telerik Forums
Kendo UI for jQuery Forum
4 answers
184 views

We have a media player which gives the following error: (the media player works but the console error is annoying)

 

www-widgetapi.js:99 Failed to execute 'postMessage' on 'DOMWindow': The target origin provided (xxxx) does not match the recipient window's origin (yyyyy)

 

Is there some configuration I can change to enable this? The xxxx url is a youtube url with https at the begining

 

Thanks!

Angel Petrov
Telerik team
 answered on 12 Jul 2018
3 answers
229 views


Hello
I am trying to save kendo PivotGrid state for future load but I can't find a way to save/load the selected feilds (slices) using the "Fields to Include" menu along side with rows,columns and measures.

Is there any way to get and set selected fields in kendo PivotGrid?


Preslav
Telerik team
 answered on 12 Jul 2018
3 answers
156 views

TreeList Column Resize work fine in ltr mode but it doesn't  work properly in RTL Mode
try to resize tree columns in  following example :
http://dojo.telerik.com/OHUje
is there any fix code for this bug ?

Boyan Dimitrov
Telerik team
 answered on 12 Jul 2018
2 answers
1.5K+ views

Hi

 

Is it possible to somewhere download kendo ui not minified source files ( jquery version )?

Wojciech
Top achievements
Rank 1
 answered on 12 Jul 2018
3 answers
1.0K+ views

Hello,

I have some troubles finding out when the grid data is fully loaded and displayed. Is there a way to capture the dataBound event of the grid similar to the one in the jQuery.

I noticed the data state change event also fires before the data is visually displayed, so not an option.

I need to perform an operation with multiple checkboxes, a kind of multiple selection of items so I'm adding "k-state-selected" class to visualize the selected rows.

Kind Regards,

Georgi Mitev

T. Tsonev
Telerik team
 answered on 12 Jul 2018
1 answer
566 views

I have a hierarchical grid that i populate data with 2 page methods. When the page loads the is no problem how ever if i reload the grid the rows wont expand. the detailInit event fires. (if i reload it again after the rows don't expand. then everything loads and functions correctly)

 

function loadGrid(startDate, endDate) {
                $("#rgLeaderBoardByManager").kendoGrid({
                    dataSource: {
                            data: data
                    },                  
                    dataBound: function (e) {
                                    var grid = this;
                                    $(".k-grouping-row").each(function (e) {
                                    grid.collapseGroup(this);
                                    });                  
                    },
                    sortable: true,
                    scrollable: true,
                    detailInit: detailInit,
                    columns: [ 
                        {
                            field: "Manager",
                            title: "Manager"
                        },
                        {
                            field: "TotalSalesByManager",
                            title: "Total Sales"
                        }                                      
                    ]                 
                }); 

                function detailInit(e) {                    
                    var sd1, ed1; 

                    var dateRange = FindControl('<%= rcmLeaderBoardByManagerWidget.ClientID %>').value;

                    switch (dateRange) {
                        case "Today":
                            sd1 = new Date();
                            ed1 = new Date();
                            
                            break;
                        case "Yesterday":
                            sd1 = new Date().Add("D", -1);
                            ed1 = new Date().Add("D", -1);

                            break;
                        case "Week to Date":
                            sd1 = new Date().Add("D", -(new Date().getDay()));
                            ed1 = new Date();
 
                            break;
                        case "Last Week":
                            sd1 = new Date().Add("D", -(new Date().getDay() + 7));
                            ed1 = new Date().Add("D", -(new Date().getDay() + 1));

                            break;
                        case "Month to Date":
                            sd1 = new Date(new Date().getFullYear(), new Date().getMonth(), 1);
                            ed1 =   new Date();

                            break;
                        case "Last Month":
                            var endOfLastMonth = new Date(new Date().getFullYear(), new Date().getMonth(), 1).Add("D", -1);
                            sd1 = new Date(endOfLastMonth.getFullYear());
                            ed1 = endOfLastMonth;
                            
                            break;
                    }

                    CallWidgetHelper("GetLeaderByManagerWidgetData", function (response) {                        
                        $("<div/>").appendTo(e.detailCell).kendoGrid({
                        dataSource: {
                            data: response.d                         
                        },
                        scrollable: false,
                        sortable: true,
                        columns: [
                            { field: "UserFullName" },
                            { field: "TotalSales", title:"User"}                       
                        ]
                        });

                    }, null, "startDate", sd1.format('M/d/yyyy'), "endDate", ed1.format('M/d/yyyy'),
                        "includeCancels", FindControl('<%= hdnIncludeCancels.ClientID %>').value,
                        "includeChecksPending", FindControl('<%= hdnIncludeChecksPending.ClientID %>').value, "managerId", e.data.ManagerId);
                }
            }

Stefan
Telerik team
 answered on 12 Jul 2018
2 answers
1.2K+ views

Hi All

I want to ask about grid, how to call function 'update' in kendo grid from custom function or custom button ?

 

Thank's

Eyup
Telerik team
 answered on 12 Jul 2018
5 answers
724 views
I think it would be helpful to have a "phone" icon in the Kendo UI icon font (KendoUI.ttf and KendoUI.woff).  I'm thinking of something that looks similar to this: http://www.mricons.com/icon/123317/48/phone-icon.  I can use my own font file for this, but it seems like an omission of something that would be useful to multiple people.  I've looked through the font multiple times without finding one, so please tell me if I just managed to overlook it.  Thanks!
Ivan Zhekov
Telerik team
 answered on 11 Jul 2018
1 answer
216 views

I'm trying to make the text label not crowded in a lot of data and I can not successful.

 

{
dataSource: modelStats,
legend: {
visible: false
},
xAxis: {
min: -2,
max: 2,
labels: {
format: "{0:n1}"
}
},
yAxis: {
labels: {
format: "{0:n2}"
}
},
series: [
{
name: "Fleet Avg",
type: "line",
aggregate: "avg",
field: "fleetAvg",
categoryField: "date",
color: "#a0b751",
},
{
name: "Driver",
type: "line",
aggregate: "avg",
field: "value",
categoryField: "date",
color: "#219dd0",
},
{
name: "Driver previous period",
type: "line",
aggregate: "avg",
field: "valueFrom_SameDateLastPeriod",
categoryField: "date",
color: "#10b4b6",
}
],
seriesDefaults: {
aggregate: "avg",
type: "line",
width: 3,
margin: 30,
markers: {
size: 15,
width: 10
}
},
 
categoryAxis: {
baseUnit: me.baseUnitDefault[0],
labels: {
dateFormats: {
weeks: tFormat
},
font: "13px Arial,Helvetica,sans-serif",
rotation: "auto"
},
},
tooltip: {
visible: true
},
pannable: true,
onZoom: onChartZoom,
});
Tsvetina
Telerik team
 answered on 10 Jul 2018
1 answer
1.2K+ views

http://dojo.telerik.com/izOFU

 

I'm trying to be a kendo right now. I found it very successful. In the above example I get the error "There are no items to view" when I turn the code below. Also, the page number is 0.

 

 

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Untitled</title>

    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.common.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.rtl.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.default.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.dataviz.default.min.css">
    <link rel="stylesheet" href="http://cdn.kendostatic.com/2014.3.1119/styles/kendo.mobile.all.min.css">

    <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>
    <script src="http://cdn.kendostatic.com/2014.3.1119/js/angular.min.js"></script>
    <script src="http://cdn.kendostatic.com/2014.3.1119/js/jszip.min.js"></script>
    <script src="http://cdn.kendostatic.com/2014.3.1119/js/kendo.all.min.js"></script></head>
  <body>
    <div id="grid"></div>
    <script>
      $("#grid").kendoGrid({
        dataSource: {
          data: {
            "items" :[
              {
                "employee": "John Doe",
                "team": "INFRASTRUCTURE"
              },
              {
                "employee": "Jane Doe",
                "team": "INFRASTRUCTURE"
              }
            ]
          },
          schema: {
            data: "items"
          }
        },
        height: 540,
        sortable: true,
        reorderable: true,
        groupable: {
            messages: {
                empty: "Gruplandırılacak Kolonları Buraya Sürükleyin."
            }
        },
        resizable: true,
        filterable: true,
        columnMenu: true,
        pageable: {
            info: true,
            previousNext: true,
            numeric: true,
            pageSize: 2,

            messages: {
                display: "Showing {0}-{1} from {2} data items",
                itemsPerPage: "Kayıt Sayısı"
            }
        },
        noRecords: {
            template: "No data available on current page. Current page is: #=this.dataSource.page()#"
        },
        scrollable: {
            endless: true
        },
        columns: [
          {
            field: "employee",
            title: "Employee"
          },
          {   field: "team",
           title: "Team",
          }
        ]
      })
    </script>
  </body>
</html>

Tsvetina
Telerik team
 answered on 10 Jul 2018
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?