Telerik Forums
Kendo UI for jQuery Forum
3 answers
161 views
Hi

I'm trying to change the background-color for all the listview items, but the last item doesn't take the corner radius at the bottom into account.  Is there any way to get around this?

Thanks
Paul
Top achievements
Rank 1
 answered on 24 Aug 2012
1 answer
133 views
Hello, I´m currently developing a mobile web app.

On some cellphones (old ones like BlackBerry 8520, or Samsung Chat 335) Kendo UI does not works... an empty page is shown to the user.

Is there any method I can use to detect when the device is not compatible or it does not support Kendo UI... so I can redirect or show a message??

This is very important in our case so we don´t get angry users... by a bad experience, they think this is not profesional if they doesn´t see any message.

Thanks!!
Petyo
Telerik team
 answered on 24 Aug 2012
1 answer
287 views
I'm using a listview <ul>  in a settings page, and I'd like to be able to enable and disable each <li> line when it makes sense via Javascript. For instance, I have one line which shows how many records have been found on a server, such as "32 Records     > ", which the user could then click on to go to a view of those records.

However, if the network was not available, that item should read "Offline      ", in gray text with no arrow.

I can make it look just right if I remove the <a> tag around the text, and apply style="color:#808080" to the <li> item. But I can't get the appearance and behavior to change programmatically by, for instance, changing properties like the disabled of the <a>.

Suggestions?

Petyo
Telerik team
 answered on 24 Aug 2012
3 answers
21.0K+ views
I have added some text fields above my grid. I was wanting to attach a change event on these fields so that the grid reloads when the field are updated. I was wondering if there is a way to reload or re-initialize the grid?
Stanislav
Top achievements
Rank 1
 answered on 24 Aug 2012
2 answers
98 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
68 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
374 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
110 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
139 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
322 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
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
Chat
DateRangePicker
Dialog
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
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?