Telerik Forums
Kendo UI for jQuery Forum
0 answers
117 views
Just started using Kendo UI Web v2012.2.710 and when you move the splitter it selects text in either the left or right pane. I don't know what's causing this. I don't see this happening in the demo. Is there some option I need to send the API?


                $("#menuSplitter").kendoSplitter({
                    orientation: "horizontal",
                    panes: [
                            { collapsible: false, size: "24%", resizable: true },
                            { collapsible: false, resizable: true }
                        ]
                });
StrandedPirate
Top achievements
Rank 1
 asked on 30 Oct 2012
5 answers
115 views

Hi, I'm having and issue with your tabstrip on blackberry, It works ok and have the native look and feel on mi android and iOS devices but when in runs on blackberry (simulated 9800 or Real 9300 w/ BB OS 6.0)  I can't see the content of the views... It just shows the top navbar and the tabstrip really close... thanks for your help

<!DOCTYPE html>
<html>
<head>
  
<!--PHONEGAP SCRIPT-->
  
<script src="cordova-2.0.0.js"></script>
  
<script src="js/jquery-1.7.1.min.js"></script>
  
<script type="text/javascript" charset="utf-8">
      
    document.addEventListener("deviceready", onDeviceReady, false);
      
    function onDeviceReady() {
          
    }
      
</script>
  
<!-- KENDO UI STYLES-->
  
<link rel="stylesheet" type="text/css" href="css/kendo.common.min.css">
<link rel="stylesheet" type="text/css" href="css/kendo.dataviz.min.css">
<link rel="stylesheet" type="text/css" href="css/kendo.mobile.all.min.css">
<link rel="stylesheet" type="text/css" href="css/kendo.default.min.css">
  
<title>Event City Bucaramanga</title>
  
</head>
  
<body>
  
    <div data-role="view" id="inicio" data-title="Event City - Hoy" data-layout="default">
        Inicio
    </div>
      
    <div data-role="view" id="buscar" data-title="Event City - Buscar" data-layout="default">
        Buscar
    </div>
      
    <div data-role="view" id="cerca" data-title="Event City - Cerca de ti" data-layout="default">
        Cerca de mi
    </div>
      
    <div data-role="view" id="establecimientos" data-title="Event City - Lugares" data-layout="default">
        Establecimientos
    </div>
      
        <div data-role="layout" data-id="default">
          
            <header data-role="header">
                <div data-role="navbar">
                        <span data-role="view-title"></span>
                        <a class="about-button" data-align="right" href="content/about.html" data-role="button">Acerca</a>
                </div>
            </header>
          
            <footer data-role="footer" data-id="default">
                <div data-role="tabstrip">
                    <a href="#inicio" data-icon="home">Hoy</a>
                    <a href="#buscar" data-icon="search">Próximos</a>
                    <a href="#cerca" data-icon="globe">Cerca</a>
                    <a href="#establecimientos" data-icon="organize">Lugares</a
                </div>
            </footer>
        </div>
          
    <!-- KENDO UI SCRIPTS-->
  
  
<script src="js/kendo.all.min.js"></script>
<script>
    $(function(){
            var app = new kendo.mobile.Application($(document.body), {
        layout:"default"
            });
        });
          
</script>
  
<style>
  
.km-android .km-navbar .km-view-title /* Before Q2 2012 SP1 */
{
    display: inline-block;
}
.km-blackberry .km-navbar .km-view-title /* Before Q2 2012 SP1 */
{
    display: inline-block;
}
  
</style>
  
</body>
</html>

Kamen Bundev
Telerik team
 answered on 30 Oct 2012
3 answers
136 views
I  have a problem in Kendo grid paging. Page number are displaying in next line.I have attached screenshot also.
vinod
Top achievements
Rank 1
 answered on 30 Oct 2012
1 answer
223 views
Hi,

I created a datasource and attached the datasource to the Grid. The datasource contains functions for the transport object. When I change a value in my grid, I would expect that the update function is called when I click the Save button in the toolbar. But the update function is not called. Instead for each item in the grid the create function is called.

Code:
                $(document).ready(function() {
var data = createRandomData(2);

                    $("#grid").kendoGrid({
                        dataSource: {                            
                            schema: {
                                model: {
Id: "Id",
                                    fields: {
Id: { type: "number" },
                                        FirstName: { type: "string" },
                                        LastName: { type: "string" },
                                        City: { type: "string" },
                                        Title: { type: "string" },
                                        BirthDate: { type: "date" },
                                        Age: { type: "number" }
                                    }
                                }
                            },
                            pageSize: 10,
transport: {
read: function(options) {
//alert('read');
 //var result = createRandomData(50);
 options.success(data);  
},
create: function(options) {
   alert('create');
 //var result = getResult(options);
 options.success(data);
},
update: function(options) {
alert('update');
 //var result = getResult(options);
 options.success(data);
},
destroy: function(options) {
alert('destroy');
 //var result = getResult(options);
 options.success(data);
},
parameterMap: function(options, operation) {
alert('map');
                                    if (operation !== "read" && options.models) {
                                        //return {models: kendo.stringify(options.models)};
                                    }
                                }
 }
                        },
toolbar: ["create", "save", "cancel"],
                        height: 250,
                        scrollable: true,
                        sortable: true,
                        filterable: true,
                        pageable: true,
editable: true,
batch: false,
                        columns: [
                            {
                                field: "FirstName",
                                title: "First Name",
                                width: 100
                            },
                            {
                                field: "LastName",
                                title: "Last Name",
                                width: 100
                            },
                            {
                                field: "City",
                                width: 100
                            },
                            {
                                field: "Title"
                            },
                            {
                                field: "BirthDate",
                                title: "Birth Date",
                                template: '#= kendo.toString(BirthDate,"MM/dd/yyyy") #'
                            },
                            {
                                field: "Age",
                                width: 50
                            },
{ command: "destroy", title: " ", width: "110px" }
                        ]
                    });
                });
Johan
Top achievements
Rank 1
 answered on 30 Oct 2012
0 answers
137 views
In upload's success, I use "$(".k-widget.k-upload").find("ul").remove();" to clear upload.


With "autoUpload: true", after upload 3 times, when click "select", no file browser pops up.


If set "autoUpload: false", when second time click "select" to upload, previous uploaded file also shows.
John
Top achievements
Rank 1
 asked on 30 Oct 2012
0 answers
116 views
Hi , i want rebind a dropdownlist in one column from other dropownlist in another column when the grid mode in edit . also how to get reference to other controls in grid something like var row = $('#Grid .t-grid-edit-row');
Muthu
Top achievements
Rank 1
 asked on 30 Oct 2012
0 answers
98 views
Hi,

What would be the best way to change the item's image on select or on error events. I am making an ajax call on select event and want to change the image of the item selected or subsequently change the image to error if the ajax call failed.

Thanks a lot for your help.
Armen
Top achievements
Rank 1
 asked on 30 Oct 2012
2 answers
155 views
Hi,

I've got a tabstrip, but when the user is tabbing through their UI elements, there's no visual change on the current tabstrip element that is focused. Is there an API that I haven't flicked the switch for, or just an oversight?

Thanks.
steve
Top achievements
Rank 1
 answered on 30 Oct 2012
0 answers
103 views
I noticed something that was not documented in the dropdown lists, where they can have local datasources that are JSON and not JavaScript objects/arrays (e.g. I can output from my page a JSON formatted object like [ "key" : "value", "key": "value" ] instead of [ key: "value", key: "value" ]).  I wanted to find out if this is the case the grids and other controls and find out the answer to this question: 

Is this a feature or a bug, because I've come to rely on it (e.g. I would hate for this not to be supported)?  I think of it as a feature, but don't want to count on it if all controls do not work the same as the dropdowns in allowing this in the datasource's data property.
jgill
Top achievements
Rank 1
 asked on 29 Oct 2012
0 answers
186 views
I'm not sure if this is a problem, or a misunderstanding on my part, but there's an unexpected behavior with the aggregate function count on kendo charts while using dates. The issue is notable in this site's demo at :

http://demos.kendoui.com/dataviz/bar-charts/date-axis.html

The problem is that if you choose the base unit as days, the count aggregate function will instead show minimum value instead of counting how many registers for that day are there.

However, if you have at least 2 registers in any given day, the function will count correctly for that particular date.

To further demonstrate this behavior, modify this part of the demo's code:

function createChart() {
                    $("#chart").kendoChart({
                        theme: $(document).data("kendoSkin") || "default",
                        title: {
                            text: "Units sold"
                        },
                        series: [{
                            type: "column",
                            data: [20, 40, 45, 30, 50, 10, 20, 30 ,40 , 50],
                            aggregate: "sum"
                        }],
                        categoryAxis: {
                            baseUnit: "months",
                            categories: [
                                new Date("2011/12/30"),
                                new Date("2011/12/31"),
                                new Date("2012/01/01"),
                                new Date("2012/01/02"),
                                new Date("2012/01/03"),
                new Date("2011/12/31"),
                                new Date("2011/12/31"),
                                new Date("2012/01/01"),
                                new Date("2012/01/02"),
                                new Date("2012/01/03")
                            ]
                        }
                    });
                }


There are now at least 2 registers for every day except December 30. The count is done correctly for every day except December 30, which shows the value.


Ricardo
Top achievements
Rank 1
 asked on 29 Oct 2012
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
ColorPicker
Pager
Styling
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?