Telerik Forums
Kendo UI for jQuery Forum
1 answer
45 views

I'm filtering my grid with the following code:

$("#grid").data("kendoGrid").dataSource.filter({ logic: "or", filters: [{ field: "MyField", operator: "equals", value: parseInt($("#MyDropDown").val())}] });

This will filter the grid fine, but then when I click the "Add new record" button in the grid toolbar, nothing happens.  Editing and deleting still function, but create/add new does not.
Travis
Top achievements
Rank 1
 answered on 22 Aug 2012
1 answer
407 views
I'm working on a page where-by a user can edit an Item and a list of Versions for the item.  I'm trying to use Kendo Models for this for 3 reasons:
  1. I'm using the Model elsewhere to bind to a Kendo Grid
  2. The Model easily allows me to create new records as well as edit existing records
  3. I am making use of the Model's dirty flag and isNew() method to determine when changes need persisting and whether or not to call the create or update method of my transport.
Using models has been working great so far, but I ran into a glitch when dealing with nested data.

If I bind to an array directly within my view model, all is fine:
http://jsfiddle.net/jeffdev/LwS9Z/2/

But if I bind to an array with my model, it breaks:
http://jsfiddle.net/jeffdev/LwS9Z/3/ 
Jeff
Top achievements
Rank 1
 answered on 22 Aug 2012
0 answers
132 views

I have the frame structure below:

<frameset rows="*" frameborder="NO" framespacing="0" border="0">
<frame src="principal.aspx" id="main">
</ frameset>

principal.aspx

<script>
var window = $ ("#window"). kendoWindow ({
         width: "50%"
         height: "50%"
         modal: true,
         visible: false,
         actions: ["Refresh", "Maximize", "Close"]
     }). date ("kendoWindow");
</ script>

<iframe SRC="URL" id="frmConteudo"> </ iframe>
<div id="window"> </ div>

Now I have the problem. I'm inside the frmConteudo and want to access the div window. I can access the div window without problems this way:

$ ("#window", frames["main"].document)

However the need to access. Date ("kendoWindow") and the same is void of the two forms below:

var frame = frames["main"].document;
$
("#window", frame).data("kendoWindow");
$
("#window", frame).data(frame, "kendoWindow");

Any idea?

Fabricio
Top achievements
Rank 1
 asked on 22 Aug 2012
1 answer
296 views
I have a fairly simple grid created from html markup. If I add a colspan attribute to a cell in my tbody,  the grid display does not render correctly. It works without the colspan attribute. 
See attached image for what the grid looks like before and after adding the colspan attribute.




Josh Eastburn
Top achievements
Rank 1
 answered on 22 Aug 2012
3 answers
298 views
Hi

I'm calling a function everytime user switch to a new view (using "data-show") part of the function is to change the title based on user input

my problem is that even when I change the title using jquery with the title span id, I can see Kendo will reset it back to data-title


Note: I'm changing the title using :
$('#view-title').html(q);
$('#view-search').attr('data-title',q);
Josh
Top achievements
Rank 1
 answered on 22 Aug 2012
1 answer
119 views
I have a grid with: selectable: "row"

When I bind a change event to the grid it will fire each time I click on the row, even if it is the same row.  So the selected row is not actually changing, but the event keeps firing anyways.  The same thing happens if I programmatically select the row using the select method.

I would rather the change event only fire when when the selection has actually changed rather than on every re-selection.

Otherwise, you might as well call the event "onSelect" rather than "change".

Alexander Valchev
Telerik team
 answered on 22 Aug 2012
3 answers
402 views
I'm loving how Kendo UI is shaping up.  However, I can't yet locate the list of officially supported browsers and devices.  I had assumed 'supports touch devices' meant something akin to universal support, but when I tried the components of web UI on a pretty decent ASUS android honeycomb tablet, several things did not work.  Is this support list somewhere?

Thanks!
Tim
Top achievements
Rank 1
 answered on 22 Aug 2012
0 answers
86 views
I have a telerik grid and i need a client event to be raised when user click on grid column name to sort them.  I understand i could use ondatabinding event but i do not want to use this. Kindly let me know if its possible to catch any other client event when the user tries to sort the grid or if i can define my own.

Thanks
user8721
Top achievements
Rank 1
 asked on 22 Aug 2012
2 answers
138 views
After paging the listview (with infinite scrolling) and then changing the datasource to a smaller set and page = 1 the listview items become invisible.  Have to call this method to bring them back into view:
$("#contact-list").parent().parent().css("-moz-transform""translate3d(0px, 0px, 0px)")

Would like to have a framework method that would do the same in the most appropriate way.

Thank you
Filipp

Mat
Top achievements
Rank 1
 answered on 22 Aug 2012
0 answers
112 views
Is there any way to prevent selection change for ListView ?  sometimes i want to handle something like before change event and show some confirmation message 
User
Top achievements
Rank 1
 asked on 22 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?