Telerik Forums
Kendo UI for jQuery Forum
0 answers
80 views
I'm using XML so I don't know if this is an issue with JSON datasources.

I have a grid with nodata and when I try to add a row I get a script error

SCRIPT5007: Unable to get value of the property 'TREEVIEWS': object is null or undefined
kendo.data.xml.js, line 146 character 17

TREEVIEWS is from the schema
schema: {
    type: 'xml',
    data: '/TABLE/TREEVIEWS',
    model: {
     id: "treeview",
     fields: {
      treeview: { editable:false, field: "treeview/text()" },
      name:   { editable:true,  field: "name/text()", defaultValue:"" },
      created: { editable:false, field: "created/text()", defaultValue:"" }
     }
    }

The call stack is:
 evaluate
 data
 total
 _change
 g
 trigger
 splice
 insert
 addRow
 Anonymous Function
 dispatch
 i

Any ideas on how to add a row to an empty grid ?

Richard
Top achievements
Rank 1
 asked on 23 May 2012
2 answers
206 views
I am Binding ' style ' to div which is in body
 
 
<div data-bind="style: { backgroundColor: selectedBackground }" style="height: 20px;"></div>
 
this works fine ,
 
 
But when I am define that div in template
 
 
<div class="container_1"  data-bind="style: { backgroundColor: selectedBackground }" >
....
...
..
</div>
 
it doesnt bind the div according to selectedBackground property...
 
 
Please Help Me Sir ...
Brad Sumner
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
185 views
Are there any plans on implementing border-box support for css style sheets that control the rendering of some of the controls?

Personally I find that more and more developers are implementing the border-box model (http://paulirish.com/2012/box-sizing-border-box-ftw/ ) to eliminate certain considerations when development responsive design/fluid design sites but applying such a global rule has an affect on the rendered widgets.  (example:  dialog box)

Maybe providing additional css or LESS when implementing a global border-box model style of design?
Steven
Top achievements
Rank 1
 answered on 22 May 2012
0 answers
81 views
Hei Guys

Could anyone please help me in tabstrip . I have 3 links say     HOME    FURNITURE      CONTACT US
When i click on Furniture it should open 3 more subtabs . When click on first it should display contents of selected tab .
Please check attach image . Could anyone tell how to achieve this using Tabstrip of Kendo...

Thanks
Momi
Top achievements
Rank 1
 asked on 22 May 2012
2 answers
147 views
If I have a list of items that I'm trying to bind to and zero happens to be the value of one of the items, the drop down list will not select the proper item if an optionLabel is set. Is this being addressed in an upcoming update?

http://jsfiddle.net/stuqc/10/ 
Mike
Top achievements
Rank 2
 answered on 22 May 2012
0 answers
193 views
We are hoping for a control to allow widgets to dock or snap to zones. It would be useful for building entire portals for end users.

This control can be seen with Telerik's own RadDock control: 
http://demos.telerik.com/aspnet-ajax/dock/examples/default/defaultcs.aspx

Other examples can be seen here: 
http://jqueryui.com/demos/draggable/#snap-to 
http://fluidproject.org/releases/1.4/demos/reorderer/layoutReorderer/demo.html 
http://www.netvibes.com

I am wondering if anyone has thoughts on this? If you would like to vote on this, I posted this suggestion in UserVoice:
http://kendo.uservoice.com/forums/127393-kendo-ui-feedback/suggestions/2870874-drag-and-drop-dock-portal-like-telerik-raddock-con
Basem
Top achievements
Rank 1
 asked on 22 May 2012
0 answers
83 views
Hello together,

I'm trying to make a scrollview with several charts in it. I'm trying it currently with two charts which i want to display as a single page in the scrollview. It seems that the layouting doesn't work correctly the second page has always a little offset on the left and also a third page is generated from the scrollview which is empty.

Has anyone an idea what could be the problem or show me a working example with two charts within a scroll view as single pages?

Regards
Raphael
Top achievements
Rank 1
 asked on 22 May 2012
1 answer
84 views
I was wondering if there's a way to make a compound editable field in Grid ... like what SlickGrid has here:  http://mleibman.github.com/SlickGrid/examples/example3a-compound-editors.html

I need a field to display a quantity and a unit (e.g. 23.5 grams), and I want to be able to click into that field and get a NumericTextBox for the quantity, and a DropDownList for the units (allowing people to change units from grams to ounces, etc.

Is this possible?

Thanks!
Luke
Top achievements
Rank 1
 answered on 22 May 2012
4 answers
152 views
Hi,

Just wanted to put a feature request in for two options that I think are important for the editor. One is a Preview button that pops up a preview window of the content in the editor. Great for letting clients dry run new links, see images in the page etc...

The other is something that  came to appreciate in the various open source editors, the ability to add class and style entries to links, images and other objects. This would apply classes from any style sheet included in the html page and inline any styles entered.

Thanks,

Tony
Brian Vallelunga
Top achievements
Rank 1
 answered on 22 May 2012
1 answer
168 views
I have a custom composite widget that internally uses the MVVM framework for managing its data and behavior. I have the need to have the view model trigger events at the widget level so pages using the widget can monitor its changes.

What I'm having difficulty with is getting a reference to the widget from within its view model, so that I can call the trigger function. Is there a pattern for this?

My code looks roughly like:

MyWidget = Widget.extend {
 
    viewModel: {}
 
    init: function(element, options) {
        this.viewModel = initializeViewModel(this.options)
    }
 
    initializeViewModel: function(options) {
        return new kendo.data.ObservableObject({
            someFunctionThatNeedsAccessToTheWidget: function() {
                // trigger event here
            }
        });
    }
}
Iliana Dyankova
Telerik team
 answered 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
BulletChart
Licensing
QRCode
ResponsivePanel
TextArea
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
+? more
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Cynthia
Top achievements
Rank 1
Iron
Iron
Iron
Toby
Top achievements
Rank 3
Iron
Iron
Iron
Danielle
Top achievements
Rank 1
Iron
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Iron
yw
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?