Telerik Forums
Kendo UI for jQuery Forum
2 answers
162 views
I have my treeview output as below:-

<div class=​"k-mid">​
<span class=​"k-icon k-plus">​</span>​
<span class=​"k-in k-state-hover">​
<span categoryId="11">​TestNameHere</span>​
</span>​
</div>​

When I select a node from the treeview I can alert(treeview.text(e.node)) to get the text - but I need access to the categoryId value, anyone know how I can get this?

Thanks
Gregor
Top achievements
Rank 1
 answered on 29 May 2012
1 answer
171 views
hello
I have a datepicker which I disabled certain days.
as this can be done?

regards
Ricardo
Top achievements
Rank 1
 answered on 29 May 2012
4 answers
258 views
I have the following function for a custom editor:

function myEditor(container, options) {
$('<input data-text-field="name" data-value-field="id" data-bind="value:' + options.field + '"/>')
.appendTo(container)
.kendoDropDownList({
autoBind: true,
dataSource: {
type: "json",
transport: {
read: "http://myurl"
}
}
});
}

My data source has two properties, "id" and "name", The "name" is shown in the dropdown and the "id" is submitted to my database.
Everything works fine and my data is sent as I intend it to be. The problem is that my grid then shows the "id" property of my data after the item is added, instead of the "name" property. If I refresh, the data is read from my database via the main grid datasource definition and everything shows correctly.

How can I make my grid show the "Name" property without synching the data source?

Any help appreciated, thanks.
Steve
Top achievements
Rank 1
 answered on 29 May 2012
2 answers
1.5K+ views
Is there a way to set a default grouping column so that the grid is grouped on loading?

Steve
Top achievements
Rank 1
 answered on 29 May 2012
0 answers
115 views
Hi,

Is it available the option like visible: false for a kendo ui grid column?

column: [
title: "class",
field: "CLASS",
width: "120px",
]

Thanks In Advance
Ganesh
Top achievements
Rank 2
 asked on 29 May 2012
1 answer
103 views
When my tab contains some elements that are floated they appear, however, the tab background is the wrong color because the tab height is 0.
http://jsfiddle.net/RichardAD/h6SLH

Any suggestions on making even floated stuff look like it is in the tab?
Iliana Dyankova
Telerik team
 answered on 29 May 2012
0 answers
122 views
How to make zero index column of Grid fixed while other column movable(reorderable=true) ?
Engifaar
Top achievements
Rank 1
 asked on 29 May 2012
0 answers
60 views
Can you support theming the active tab label separately from its related content please? For example, having .k-state-active and .header would result in a bright orange below, and on switching tabs, losing .k-state-active class would revert to usual colour. the .content class would not be orange, only the header, and so wouldn't change.

<div id="tabstrip">
    <ul>
        <li class="k-state-active header">First Tab</li>
        <li class="header">Second Tab</li>
        <li class="header">Third Tab</li>
    </ul>
    <div class="content"><p>TabStrip sample content, first tab</p></div>
    <divclass="content"><p>TabStrip sample content, second tab</p></div>
    <divclass="content"><p>TabStrip sample content, third tab</p></div>
</div>
Dave
Top achievements
Rank 1
 asked on 29 May 2012
3 answers
153 views
Hi,
I think this might be a dumb question but I am stumped. I have a view model with a property that contains an array of 'objects'. When I stringify this, my array property isn't being deserialized as an array, but rather I get something that looks like this:
\"Metrics\":{\"0\":{\"Id\":19,\"Curren...}, "\1\": { ....

I was expecting something like:
Metrics : [{"Id":19, "Current": 12.34155...}, {"Id": 23, "Current....}, ...]

When I post this all back through ajax my property of Metrics does not get deserialized properly by asp.net mvc.

Any help would be appreciated,
ian
Iliana Dyankova
Telerik team
 answered on 29 May 2012
0 answers
148 views
hi,
I have an image field in my database.i am able to load the grid from the database except image field.I want to load the image from the database.In the image field it is displaying like image size with cross mark.i wrote the code like:
{ field: "Image", title: "image", template:"<img src ='#= Image #'/>"}
how can i get the image in the grid?
charan
Top achievements
Rank 1
 asked on 29 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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?