Telerik Forums
Kendo UI for jQuery Forum
3 answers
397 views
Hello,

When I have any kind of error my JSON response is like:

{ error: true, message: "Error caused ....", date: "date ... " },

When I make an AJAX conn by myself I can check whether there has been any error or not, but how can I check it when kendoGrid makes a connection to "Save data"?

Thanks. 
John DeVight
Top achievements
Rank 1
 answered on 17 Jan 2012
5 answers
193 views
This doesn't seem to return anything (Should show Jane), am I using Filters incorrectly?

var stuff = [
                  {
                      FirstName: "Joe",
                      LastName: "Smith"
                  },
                  {
                      FirstName: "Jane",
                      LastName: "Smith"
              }];
 
 var ds = new kendo.data.DataSource({data: stuff});   
 
$("#grid").kendoGrid({
          columns:[
              {
                  field: "FirstName",
                  title: "First Name"
              },
              {
                  field: "LastName",
                  title: "Last Name"
          }],
          dataSource: ds.filter([{ field: "FirstName", operator: "neq", value: "Joe" }])
 
});
John DeVight
Top achievements
Rank 1
 answered on 17 Jan 2012
2 answers
735 views
how to increase dropdownlist items font size
Tirso
Top achievements
Rank 1
 answered on 17 Jan 2012
3 answers
237 views
Hi

I'm using a datasource to populate a grid. When the page loads for the first time I set the URL variable to the datasource. How can I change the URL of the datasource after it was created? The url changes when the user clicks on several items in the page and I don't want to use data property to send parameters to the url (the url changes and the parameters also).

If I initialize the datasource in every click I have strange behaviour. I've read in the forum that it's not advisable to do that

Thanks for your attention
John DeVight
Top achievements
Rank 1
 answered on 17 Jan 2012
0 answers
190 views
Does anybody knows if there is any perfect example available where JSON is implemented in Kendo Grid along with PHP5?
Ilyas
Top achievements
Rank 1
 asked on 17 Jan 2012
1 answer
67 views
As said in title, if I use something like this to style div to look like window ...

<div class="k-widget k-window panel">

... and call some window, window cannot be closed.
Error: Cannot read property 'options' of undefined
Alex Gyoshev
Telerik team
 answered on 17 Jan 2012
1 answer
189 views
Hi,

I'm newbie with js and HTML5. I have no idea how to pass value from QueryStringParameter (set in URL) and filter KendoDataSource ?

http://www.myapp.aspx?orderID=1234

example:

 $("#grid").kendoGrid({
                        dataSource: {
                            type: "odata",
                            serverFiltering: true,
                            filter: [{ field: "Order_ID", operator: "equals", value: 1234}
                            ]



BR
Marko
Atanas Korchev
Telerik team
 answered on 17 Jan 2012
3 answers
142 views
I'm getting an error when I try to bind the grid to a XML datasource.

Line: 2844
Error: Unable to get value of the property 'ItemList': object is null or undefined

Seems to be at the function in kendo.all.js:
total: function(result) {
  
return this.data(result).length;

My XML:

My XML:
<?xml version="1.0" encoding="utf-8"?>
  <CreateDate>2010-09-28T01:43:50.6860364+02:00</CreateDate>
  <ItemList>
    <MovieItem>
      <Foldername>My.Family</Foldername>
....

My Datasource:

var ds = new kendo.data.DataSource({
                    transport: {
                        read: "Data/movies.xml"
                    },
                    schema: {
                        type: "xml",
                        data: "/CatalogOfMovieItem/ItemList/MovieItem",
                        model: {
                            fields: {
                                title: "Foldername/text()",
                                rootFolder: "Rootfolder/text()",
                                url: "ImdbUri/text()",
                                year: "Year/text()"
                            }
                        }
                    },
                    change: onMovieChange
                });

The datasourcce seems to be loaded correctly.
Where could be the problem?

Thanks
Eric





Rosen
Telerik team
 answered on 17 Jan 2012
2 answers
2.4K+ views
I have a series of cascading dropdownlists.  When the first one is changed, the second is updated based on the selection from the first list.  I would like for the 3rd and 4th to be reset to a blank list until the user selects a value from the second list (which will fire its change event and repopulate it).  I've tried to add the following in the change event for the 1st dropdown as I've seen on another forum post, but nothing is hidden when the event fires.  Is there a way to just clear out all of the entries in the list?  I didn't see a method in the doucmentation that appeared to do that.
$("#devType").closest("k-widget").hide();
Cyndie
Top achievements
Rank 1
 answered on 16 Jan 2012
0 answers
361 views

Hi!

I am using standard Kendo UI code from the slides withing Komodo Edit as ADE and Opera as browser.

Can anyone please tell me if it is possible and how to insert an image file .png .jpg etc icons into a column in Grid?

Thanks,

UPDATE: Since posting this issue I found the relevant video tutorial on Youtube which describes in intricate detail how to use templates to insert pictures into a grid, and I made it work. Great stuff!

http://youtu.be/gVu79Sh6Lpg

Andrew
Top achievements
Rank 1
 asked on 16 Jan 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
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?