Telerik Forums
Kendo UI for jQuery Forum
2 answers
115 views
hi kendo-community,

can someone tell whether it is possible to bind custom attributes to treeNodes per remote datasource.

best regards,

bernhard
Matt Done
Top achievements
Rank 1
 answered on 24 Aug 2012
0 answers
83 views
Hi,
I am trying to pass parameters to address bar after clicking page numbers to give user a permalink so URL of the last view in Grid can be copy-paste and shareable...

For example:
http://example.com/grid/sort-desc-columnname/page1


What are your thoughts on this matter?
Thank  you in advance!
Safak
Top achievements
Rank 1
 asked on 24 Aug 2012
2 answers
426 views
I'm creating a view with a grouped listview on it, targeting iOS and Android.

The listview shows how many records exist of a certain type. If the user presses one, the view changes to show those records.
However, I'd like to be able to show a disabled row when no records of that type exist.

Those records would need to have a "disabled" appearance: grayed text, no ">" link, no button behavior.

It would be great if this could be controlled via databinding (no records or a property of zero = desired behavior), but I'm fine with running a javascript procedure to do this. My issue is that while I can easily perform the graying by applying style="color:#808080" to the <a>, I can only remove the button behavior by removing the <a> tags around the text at design time, not by just setting disable="true" or some other property. Is there a property (href? target? k-style?) or a programmatic procedure that will remove the button behavior from the listview line?

Thanks for your help, everyone.

In the HTML which follows, "None Connected" and "Offline" should be gray (yes it is) but also not activated (can't figure that part out).

<div data-role="view" data-title="Home" id="home-view" data-layout="layout">
<ul id="recordTypeList" data-role="listview" data-style="inset" data-type="group">
<li>
<div id="connectedDeviceLabel" class="km-group-title">Flight Recorder</div>
            <ul>
                <li id="connectedLabel" disabled="true"><a disabled="true" style="color:#808080">None Connected</a></li>
</ul>
</li>
<li>
<div id="deviceName" class="km-group-title">This Device</div>
<ul>
<li><a>34 Records</a></li>
</ul>
</li>
<li>
<div id="recordsCloud" class="km-group-title">Records in the Cloud</div>
<ul>
<li><a  disabled="true" href="" style="color:#808080">Offline</a></li>
<li>Cloud access<input align="left" type="checkbox" id="cloudswitch" /></li>
</ul>
</li>
</ul>
</div>
John
Top achievements
Rank 1
 answered on 23 Aug 2012
2 answers
176 views
I have a list of data that I want to use both in a grid and in a dropdownlist simultaneously. On the grid, I want it to have a pageSize of 10, but on the dropdownlist I want it to have all of the data items. 

I don't want to specify two data sources for the same data just to get different page sizes. How would I set only the grid pageSize independent of the dataSource?

Thanks in advance,
Matt
Alexander
Top achievements
Rank 1
 answered on 23 Aug 2012
2 answers
165 views
Hi,

Is it possible to use kendoEditor in the Grid popup editor?

Thanks
Safak
kabbas
Top achievements
Rank 1
 answered on 23 Aug 2012
1 answer
358 views
Hi, I'm trying to make a line chart that uses two y-axes, one on the left side of the chart and one on the right.

Originally I got it to work by using the length of values in the datasource, like this:

axisCrossingValue: [0, datasource.data().length] }

However, this doesn't work when I interpolate the missing values on the chart, as there can be many more categories on the x-axis than there are elements in the data array. I end up getting an axis hanging out somewhere in the middle of the chart.

Does anyone know a way I can get the number of categories on the x-axis WHILE instantiating the chart?
Or would I have to access the number of categories and change the axisCrossingValue after the chart has been built and call refresh()?

Thanks for any ideas!
Erik
Erik
Top achievements
Rank 1
 answered on 23 Aug 2012
0 answers
137 views
Greetings,

We already have CSS formatting for our numeric textbox, how would we otherwise remove the built in / default CSS formatting? When I initally wire up the numeric text box, we see a battle between teh KendoUI css and our very own.

Adam
Top achievements
Rank 1
 asked on 23 Aug 2012
2 answers
797 views
How do I access the (model) values of a selected row using the new 2012 Kendo UI Web? I.e. in the change event of a Kendo grid.

Where do I find more resources on this topic and also on models in the 2012 version? I haven't found the answers in the datasource or grid documentation/demos sections.
Michel Corbin
Top achievements
Rank 1
 answered on 23 Aug 2012
0 answers
173 views
I need to load html & css from a remote page into a view. I've tried using and iframe with the following code

        <div data-role="view" data-layout="app" data-title="about" id="viewid">
<iframe src="http://easytrip.fusio.net/easytrip.htm"></iframe
</div>

But the iframe isn't scrollable in a mobile browser. Is there a way of making the iframe scrollable or a different method of loading a remote page into a view and have it scrollable? 

Mat
Top achievements
Rank 1
 asked on 23 Aug 2012
1 answer
258 views
I was wondering if it is possible to use Kendo's Validation to achieve something similar to Microsoft's Unobtrussive ValidatIon:
http://weblogs.asp.net/jgalloway/archive/2012/03/23/asp-net-web-api-screencast-series-part-5-custom-validation.aspx 

In Kendo I can attach data attributes to my form fields in much the same way that I can with Unobtrussive Validation.  However with The latter, I can also do this:
$.validator.unobtrusive.revalidate(form, validationResult);

Which makes it possible to display server validations by building up a list of Field names and their associated errors.  Example of validationResult:
{"Author": "Author is too long! This was validated on the server."}

Is such a feature possible in Kendo?  If not, I could see it as a useful addition for the future.  We can validate 95% of what we need to do on the client, but something like this would be great for server validations such as checking for duplicates in the data store, etc.
Jeff
Top achievements
Rank 1
 answered on 23 Aug 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?