Telerik Forums
Kendo UI for jQuery Forum
6 answers
190 views
I cannot get the Date Filter to work in the "Binding to remote data" Grid example:

http://demos.kendoui.com/web/grid/remote-data.html

Demo video here:
http://screencast.com/t/5Yd6xQTw3
SHAWN
Top achievements
Rank 1
 answered on 13 Feb 2012
2 answers
186 views
It's possible change the pager option ButtonCount without editing the kendo.all or kendo.grid js ??
thanks,
Giulio
Giulio
Top achievements
Rank 1
 answered on 13 Feb 2012
1 answer
131 views
We would like a function that warns before leaving a page with changes. Is there a way to do this through the Kendo Data? Can we check for dirty data?

Thanks
Petur Subev
Telerik team
 answered on 13 Feb 2012
1 answer
123 views
Am I just missing it or are the validation docs a bit thin?
Rosen
Telerik team
 answered on 13 Feb 2012
1 answer
196 views
Hi Telerik,

I'm trying to use the treeview and I was wondering if there's going to be a way to add hyperlinks to the nodes?

That would be really helpful for me to help improve some of the SEO things I want to do with the tree.

Thanks,
Chris
Dimo
Telerik team
 answered on 13 Feb 2012
1 answer
77 views
Will there be a support for FF and Opera Mobile?
The tab-strip does not work properly.
Georgi Tunev
Telerik team
 answered on 13 Feb 2012
0 answers
109 views

Multiple kendo controls included in the same page are not rendering themselves.
I am trying to include a Panel Bar within a Splitter panel.
But, with the below code only the Splitter renders and the Kendo panel bar is not seen.
If i move the KendoPanelBar code ahead, then the PanelBar is seen and not the splitter.
Please suggest ..

<script type="text/javascript">
    $(document).ready(function () {
        $("#splitter").kendoSplitter({
            panes: [
                { collapsible: true, min: "100px", max: "100px" },
                { collapsible: true}],
            orientation: "horizontal"
        });

        $("#panelBar").kendoPanelBar();
       
    });   
</script>

Arvind
Top achievements
Rank 1
 asked on 13 Feb 2012
0 answers
153 views
Hi

I'm using kendo grid with odata.
My datasource is classical (many options have been tested). Something like:

var

myDS = new kendo.data.DataSource({

type: "odata",

transport: {

read: { url: "http://localhost:2000/Ajax/Lists/PassageDataService.svc/Passages/"  

 //, dataType: "json"
}},

schema: {

data: "d.results", model: {id: "SeqId", fields: myObject}

},

pageSize: 10,

serverPaging: true,

serverFiltering: true,

serverSorting: true,

sort: { field: "SeqId" }

});


When i Try to add objet to my data source with

 myDS.add(myObject);

the object is added (I can see it on firebug), all goes fine but when i look at the page the new object is not on the kenod grid and firebug show an error "d.d is not defined"

If i use Json instead of odata, add object works fine but the rest is broken (pagging filtering etc with dataservice).

Anyone has every tried to add row on buton click event to kendo grid using odata and dataservice?

thanks,
Laurent

Fdg
Top achievements
Rank 1
 asked on 13 Feb 2012
0 answers
126 views
I use editing Grid. Grid is like that.

Person | month | target
John | 2012/01 | 10
John | 2012/02 | 12 
John | 2012/03 | 11 
John | 2012/04 | 15 
John | 2012/05 | 15 
...

When I set  '9' on John 2012/02 and 2012/04 target,

Person | month | target
John | 2012/01 | 10
John | 2012/02 | 9 
John | 2012/03 | 11 
John | 2012/04 | 9
John | 2012/05 | 15 
...

And click save button , Grid shows like that,

Person | month | target
John | 2012/01 | 10
John | 2012/01 | 10 
John | 2012/03 | 11 
John | 2012/01 | 10 
John | 2012/05 | 15 
... 
 
Update has succeeded and the data Server responsed was correct. 
Why this situation happen?
 
Source is like that.

var grid = $("#grid2").kendoGrid({
    dataSource: {
        transport: {
            read: {
                url:"getList.asp",
                dataType: "json" ,
                data : {
                    'entity': 'goal',
                    'termStartStart' : '2011/04/01',
                    'empCd' : 'sato',
                    PG : 1
                }
            },
             update: {
                url: "update.asp",
                dataType: "json" ,
                type : 'POST',
                data : {
                    entity : 'goal',
                            's_termStartStart' : '2011/04/01',
                    's_empCd' : 'sato',
                    's_PG' : 1
                }
            }
        },
        schema : {
            data : function(data){
              
                var new_data = [];
                return new_data;
            },
            model: {
                id: "reportId",
                fields: {
                    reportId : {type : 'number', editable : false},
                    empName: { editable: false },
                    termStart: { editable: false },
                    volume: {
                        type: "number",
                        validation: {
                                    max : { value : 1000,  message : "目標訪問数は1000以内にしてください"}
                         }
                    }
                }
            }
             
        }
    },
    height: 380,
    sortable: true,
    editable: true,
        toolbar: [
            { name: "save", text: "保存する" },
            { name: "cancel", text: "キャンセル" },
            { name : "年度", template :  ' <input id="input" />' }
        ],
        columns: [ {
                field: "empName",
                width: 90,
                title: "社員"
            } , {
                field: "termStart",
                width: 40,
                title: "月"
            } , {
                field: "volume",
                width: 35,
                title: "目標訪問数",
                format: "{0:d}"
            }
        ]
});


Taiji
Top achievements
Rank 1
 asked on 11 Feb 2012
1 answer
81 views
I use Drid editing.

dataSource: {
                            transport: {
                                read: {
                                    url:"getList.asp",
                                    dataType: "json" ,
                                    data : {
                                        'entity': 'XXX'
                                    }
                                },
                                 update: {
                                    url: "update.asp",
                                    type : 'POST',
                                    data : {
                                        entity : 'XXX'
                                    }
                                }
                            },
                            schema : {
                                data : function(data){
                                    var new_data = [];
 
                                   /* make data for grid from remote data */
                                     
                                    return new_data;
                                },
                                model: {
                                    id: "id",
                                    fields: {
                                        amp_name: { editable: false },
                                        termStart: { editable: false },
                                        volume: {
                                            type: "number",
                                            validation: {
                                                        max : { value : 1000,  message : "XXX"}
                                             }
                                        }
                                    }
                                },

  toolbar: [
                            { name: "save", text: "save" },
                            { name: "cancel", text: "cancel" }
                        ],
                        columns: [ {
                                field: "empName",
                                width: 90,
                                title: "社員"
                            } , {
                                field: "termStart",
                                width: 40,
                                title: "month"
                            } , {
                                field: "volume",
                                width: 35,
                                title: "target",
                                format: "{0:d}"
                            }
                        ]

After click button "save" and update ,  error happened.
See   argument "data" in  "data : function(data){ "  by Firebug,
 data is string object.

When first loading, the data is json object.
Server responses same text data, first loading and update's post method.

Taiji
Top achievements
Rank 1
 answered on 11 Feb 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
MultiColumnComboBox
Dialog
Chat
DateRangePicker
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?