Telerik Forums
Kendo UI for jQuery Forum
1 answer
171 views
Hi,
I am trying to use grid in iPad application and when i add the script to make it a mobile app there is no scrolling, when i remove it all is ok and the scrolling works perfectly, what can be the problem ? can't i have scrolling for grid in iPad?
Iliana Dyankova
Telerik team
 answered on 18 May 2012
1 answer
113 views
On the iPad if you are using a combobox or dropdownlist, when you touch your selection it chooses it but when the drop down list closes it clicks a second time where you clicked when the drop list was open. Any known way to get around this?
Georgi Krustev
Telerik team
 answered on 18 May 2012
1 answer
153 views
I have numerous kendo grids which were working fine with incell editing.

I upgraded to 322 and didn't realise for a while that the editing was broken.
Today I upgraded to 515 and the problem remained.

The only fix I found was setting the editable{mode: incell}
The grid documentation for the mode setting states that incell is the default but this doesn't seem to happening unless explicitly set.

While this works it means I have a lot of files to update to get working again.
Nikolay Rusev
Telerik team
 answered on 18 May 2012
1 answer
237 views
Hi,

Is the Cancel button in Inline edit mode really supposed to cancel all changes? If I run this code and make changes on one line and save it with the Save button and then Edit another line and click Cancel the changes in the first line aer also reverted.

<body>
    <div id="mygrid"></div>
     
    <script>
        var mydata = [
            {
                id: 1,
                name: "John"
            },
            {
                id: 2,
                name: "Stephen"
            },
            {
                id: 3,
                name: "Lisa"
            }
        ];
         
        var myDS = new kendo.data.DataSource({ data: mydata });
         
        $(document).ready(function() {
 
            //Init Grid
            var gridMagXtrReturnLines = $("#mygrid").kendoGrid({
                editable: "inline",
                navigatable: true,
                autoBind: false,
                scrollable: false,
                dataSource: myDS,
                columns: [
                    {
                        field: "id",
                        title: "ID",
                        width: 70
                    },
                    {
                        field: "name",
                        title: "Namn",
                        width: 200
                    },
                    {
                        command: ["edit"],
                        title: " "
                    }
                ]                  
            });
             
            myDS.read();
        });
     
    </script>
</body>
Alexander Valchev
Telerik team
 answered on 18 May 2012
0 answers
117 views

HI

I use kendo grid. I want when I edit a row and change value of drop down , show new value in column

But with this code I want change and update database but do not show new value in grid  and I should refresh page.
My English  is n't good , I'm sorry if my writting is bad. :D

mina
Top achievements
Rank 1
 asked on 18 May 2012
1 answer
2.2K+ views
Is there any way to grab an array of all the grid filters that a user has filled out without them pressing the "Filter" buttons? Before a user presses the "Filter" button, dataSource.filter() is undefined, but after pressing filter it is populated. I would like to be able to have all filter values that a user has entered in other columns (without pressing the "filter" button in each column) to be created. As it is right now, if I want to filter on 4 different columns, the user must click filter 4 times - which may not be intuitive to most users. 

Also, are there any plans in the future to allow users to define how column filters join together in the UI? The ideal end result would be: "(Column1Filters) AND (Column2Filters) OR (Column3Filters)" or at least a toggle between using "AND" or "OR" for joining all column filters in the header of the grid.
Alexander Valchev
Telerik team
 answered on 18 May 2012
3 answers
1.1K+ views
I'm having issues setting up validation on the dataSource's schema.model.fields object. I am following the documentation at: http://www.kendoui.com/documentation/framework/datasource/configuration.aspx as a guide.  It seems that the validation never fires.
 Below is the data source's schema property:
model{
                id"ID",
                fields{
                    Name{
                        editabletrue,
                        nullabletrue,
                        validation {
                            required:true,
                            customRulefunction(input){alert('bad data');}
                        }
                    }
                } 
I would expect that this would mark the field as required, and prevent the form from submitting and then also pop up an alert. 

I have created a jsfiddle with some sample code at:
http://jsfiddle.net/sholder/RxLWS/ 
any guidance on what I have wrong would be most appreciated.

Thanks,
Shane Holder
Rosen
Telerik team
 answered on 18 May 2012
3 answers
135 views
Hello,

I can see that data binding became broken after I update to Kendo UI v2012.1.515.
I have attached a test project for it.

Steps to reproduce:
- Enter "333" to the related field, click "Save". (all is fine and related field has been cleared)
- Enter "123" to the related field, click "Save". (A bug! Nothing happened, related field is not cleared)

I don't know why but it looks like a bug only with "123" value in related field.
It was working fine with previous version!

Vladimir
Rosen
Telerik team
 answered on 18 May 2012
0 answers
154 views
Hello:

I have a property in my CodeBehind that return JSON data:

public string EventTypeCount
{
    get
    {
        JavaScriptSerializer js = new JavaScriptSerializer();
        return js.Serialize((List<EventTypeCount>)obj);
    }
    set { ViewState["EventTypeCount"] = value; }
}

obj actually contains data and the serialization works ok, the problem is that I don't know how to tell the kendo ui chart to use this datasource. Right now I'm trying this the following, the dataEvent var actually recieves the Json String but I don't know how to tell the chart to understand that datasource. If I use a Handler that uses the transport property to make the request everything works ok, but I need this approach.

Thanks for any help.

Code:

function createChartEvents() {
                var dataEvent = '<%= EventTypeCount %>';
                $("#chartEvents").kendoChart({
                    theme: "metro",
                    dataSource: {
                        data: dataEvent,
                        dataType: "json"
                    },
                    title: {
                        text: "Estudios"
                    },
                    legend: {
                        position: "bottom"
                    },
                    seriesDefaults: {
                        type: "column",
                        labels: {
                            visible: true
                        }
                    },
                    series: [{
                        field: "CountMade",
                        name: "Eventos Finalizados"
                    }, {
                        field: "CountUnmade",
                        name: "Eventos Pendientes"
                    }, {
                        field: "CountCanceled",
                        name: "Eventos Cancelados"
                    }],
                    categoryAxis: {
                        field: "EventTypeName"
                    },
                    dataBound: onDataBound,
                });
            }
Felipe
Top achievements
Rank 1
 asked on 18 May 2012
0 answers
34 views
Hello guys:

I don't know if I can't see the option or if the site actually doesn't have it but, where is the forum option to search topics? Can you make it??

It is a hard task to search page for page to see if something has anything to do with what I'm looking for.

Thanks, and sorry... I know this shouldn't be here
Felipe
Top achievements
Rank 1
 asked on 18 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
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
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
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Rakhee
Top achievements
Rank 1
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?