Telerik Forums
Kendo UI for jQuery Forum
0 answers
122 views
hi there,

Can i fix rounded percentage value in pie chart.

thanks,
Rajesh.C
Rajesh
Top achievements
Rank 1
 asked on 22 May 2012
4 answers
336 views
I created a fiddle with this issue http://jsfiddle.net/TgKF3/6/

Basically, I want the splitter div to resize along with the kendoWindow when it is resized.  So to test it out grab the lower right of the kendoWindow and drag to the right.  The splitter div is not resized (see green border).  Also, how do I make the splitter div span 100% height.  I tried setting the height of the splitter div to 100% but the splitter would not resize when the kendoWindow was resized.  Thanks in advance for your help.
Nick
Top achievements
Rank 1
 answered on 22 May 2012
2 answers
291 views
When something goes wrong with the read: on server it will send an HTML message and not deliver XML.  successCheck is never run and developer tools shows me a "Breaking on JScript runtime error -- invalid XML: ...the server response..."

Where should I put a try/catch ? Or How should I otherwise make sure the server response is actually XML before handing it off to the xml parser?
var crud = "/MyCollections";
var successCheck = function (data) { alert(data);   }
 
var dataSource1 = new kendo.data.DataSource ({
transport: {
read:
{ cache: false, url: crud, data: { action: 'list' }, success: successCheck },
update:
{ cache: false, url: crud, data: { action: 'update' }, success: successCheck },
destroy:
{ cache: false, url: crud, data: { action: 'delete' }, success: successCheck },
create:
{ cache: false, url: crud, data: { action: 'create' }, success: successCheck }
},
schema: {
type: 'xml',
data: '/TABLE/TREEVIEWS',
model: {
fields: {
treeview: "treeview/text()",
name: "name/text()",
timestamp: "timestamp/text()"
} } } });



Thanks,
Richard
Richard
Top achievements
Rank 1
 answered on 22 May 2012
0 answers
118 views
Hei
I want to display all menu items when clicking on menu .Can anyone tell how to achieve this ,.
For example

I have menu

Furniture
 -Deko
-Fancy
-Roman

Now when i click on Furniture and select the "Deko" It shud display the Selected Item
Momi
Top achievements
Rank 1
 asked on 22 May 2012
0 answers
38 views
Hello,

I've noticed that playing mp4 format video (with html5 video tag) under kendo view works well on my computer's browsers but not on my iPad's safari.

Is this a bug or something? 

Hoping for your response. thanks.
Flute
Top achievements
Rank 1
 asked on 22 May 2012
0 answers
241 views
Hi all,

i need to have a web app where the user has to give an input in the browser input box and based on that a query will be executed using php and the database MySQL and the corresponding result will be displayed in the browser.
I am compleatly new to both the mobile app and web app development.I would like to mention that what ever work i am doing is entirely on wamp server.
It would be great if any help i get from this forum.

Thanks,
Swarup
Swarup
Top achievements
Rank 1
 asked on 22 May 2012
0 answers
92 views
Hi,

I'd like to have a datasource but I don't want the data source to read any data, just the "c-ud" operations.

I was trying to define the read as function that returns [] but it doesn't work properly, since when the read is called the page stays in loading.

Any ideas?

Thanks,
Ricardo
rlapao
Top achievements
Rank 1
 asked on 22 May 2012
1 answer
259 views
I have a kendo grid setup with its own datasource and within the databound event I am binding a dropdownlist to its own datasource.

The grid binds ok and the dropdown is populate ok however when I look in the network console I am seeing that the datasource is calling my service everytime a dropdown list is added.

How can I set this up to only call the service the single time as I don't want to be making extra calls to my api 

var dataSource = new kendo.data.DataSource({
    transport: {
        read: {
            url: "/API/store/get",
            dataType: "json",
            data: function () {
                return {
                    businessId: $("#BusinessId").val()
                };
            }
        }
    }
});
var data = new kendo.data.DataSource({
    transport: {
        read: {
            url: "getoutlets",
            dataType: "json",
            data: function () {
                return {
                    businessId: $("#BusinessId").val()
                };
            }
 
        }
    }
});
 
$(document).ready(function () {
    $("#outlets").kendoGrid({
        sortable: true,
        dataSource: data,
        dataBound: function (e) {
            $(".dropdown").kendoDropDownList({
                dataTextField: "StoreName",
                dataValueField: "StoreId",
                dataSource: dataSource
            });
            
            console.log(e);
        },
        columns: [
            {
                field: "name",
                title: "Name (Supplier)"
            },
            {
                title: "Name",
                template: "<input class='dropdown' id\='#=id #' value\='#=MappedStoreId #'></input>"
            }
        ,
            {
                title: "",
                template: '<a href="\\#" class="green-button small" data-id\="#=id #">Update</a>',
                width: "110px"
 
            }
        ]
    //                rowTemplate: kendo.template($("#rowTemplate").html())
    });
Georgi Krustev
Telerik team
 answered on 22 May 2012
1 answer
234 views
I am using mvc to generate my table then I am apply the kendo grid to the table.

In one of the grid cells I am using a kendo dropdownlist. I am having a couple of problems. My script look likes

$(document).ready(function () {
           var dataSource = new kendo.data.DataSource({
               transport: {
                   read: {
                       url: "/API/store/get",
                       dataType: "json",
                       data: function () {
                           return {
                               businessId: $("#BusinessId").val()
                           };
                       }
                   }
               }
           });
           $("#outlets").kendoGrid({ sortable: true });
           $(".dropdown").kendoDropDownList({
               dataTextField: "StoreName",
               dataValueField: "StoreId",
               optionLabel: "Select...",
               dataSource: dataSource
           });


Problem 1. The datasource is calling my webservice for every dropdown list bound to it. Is it possible to only have the service called once?

Problem 2. the optionLabel value is only applied to 1st dropdownlist and no others. Is this a bug or something wrong with the way I have configured it?

Thank you!
Georgi Krustev
Telerik team
 answered on 22 May 2012
0 answers
148 views
HI support,

I have a jQuery Custom widget, how to initialize  that widget in Kendo Grid cell using the template?


This is my Template

<script id="IDCOL-tmpl" type="text/x-kendo-tmpl">
 
            <div class="IDCOL">
                <script type="text/javascript">
                    $('.IDCOL').Block();
                {{html "</sc"+"ript>"}}
            </div>
 
    </script>

and Kendo Grid initialization
$("#container").kendoGrid({
    ..........
    columns : [{
        title : "ID",
        template : kendo.template($("#IDCOL-tmpl").html())
    }, "StartTime", "EndTime"]
});

This is the error:

"Microsoft JScript runtime error: Could not complete the operation due to error 80020101.") in globalEval (which is in jquery-1.7.1.js)




Bala
Top achievements
Rank 1
 asked on 22 May 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
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?