Telerik Forums
Kendo UI for jQuery Forum
7 answers
97 views
Hi, since upgrading to version v2013.1.619 our application is no longer able to retrieve change information.

In our scenario we only bind to the top level model changed event i.e. viewData (see sample json below). This json can be nested to several layers. This Model is dynamic and can be nested to many levels.

We are only interested in knowing which members have changed.

Previous to this release, if the value property of  M53675 changed we would receive multiple change events at the top level model, one to signify that the rows property had changed and one for the value property of M53675.
Since this update we nolonger receive the event for the member change, just the rows property and there is no way of working out what caused the row change event.
The issues appears to be that when a change is bubbling up, the details of the change are lost when the passes through an ObservableArray.

We can modify our code to iterate through our model and attach a handler to the change event of each observable rows array but we would much prefer if there was an option to allow the modified property to bubble up.

Sample JSON

"viewData": {
  "name": "Contact (Insured)",
  "ID": "4123",
  "reference": null
  },
  "containers": {   
   "C12409": {
    "containerID": 12409,
    "containerType": 6,
    "containerName": "Container12409",
    "isVisible": true,
    "entityID": 419,
    "entityName": "Contact",    
    "rowCount": 1,
    "rows": [{
     "instanceInfo": {
      "entityID": 419,
      "instanceID": -1,
      "instanceStateMemberID": 2235
     },
     "columns": {
      "M53675": {
       "memberID": 53675,
       "name": "Contact Type",
       "value": 2,
       "description": "Organisation",
       "isDisabled": false,
       "isMandatory": true,
       "isValid": true,
       "isVisible": true,
       "isTargetMandatory": false,
       "isChangedThisUpdate": false
      },
      "M53674": {
       "memberID": 53674,
       "name": "Domicile Country",
       "value": null,
       "isDisabled": false,
       "isMandatory": true,
       "isValid": false,
       "isVisible": true,
       "isTargetMandatory": false,
       "isChangedThisUpdate": false
      },
      "M53673": {
       "memberID": 53673,
       "name": "Domicile State",
       "value": null,
       "isDisabled": true,
       "isMandatory": false,
       "isValid": true,
       "isVisible": true,
       "isTargetMandatory": false,
       "isChangedThisUpdate": false
      },
      "M113263": {
       "memberID": 113263,
       "name": "Language",
       "value": null,
       "isDisabled": false,
       "isMandatory": false,
       "isValid": true,
       "isVisible": true,
       "isTargetMandatory": false,
       "isChangedThisUpdate": false
      },
      "M72693": {
       "memberID": 72693,
       "name": "Contact Function",
       "value": 2,
       "code": "CO",
       "description": "Company",
       "isDisabled": false,
       "isMandatory": false,
       "isValid": true,
       "isVisible": true,
       "isTargetMandatory": false,
       "isChangedThisUpdate": false
      }
     },
     "isChangedThisUpdate": false
    }]
   },
Atanas Korchev
Telerik team
 answered on 03 Jul 2013
1 answer
75 views
Hi all,

I am evaluating Kendo's MVVM features and when trying out the datasource I can't stop it overwriting client data whenever I call .read()
I am trying to poll the server periodically (every 10 seconds for instance) and always get the latest snapshot of data on the server.  Unfortunately what happens at the moment is that if a user has pending edits then these edits are lost and replaced with the data from the server, whereas I would expect it to only update records that have not been marked as dirty.
I cannot use autoSync as I require a save button.

Is there something I am missing here or is this not possible?
Is there some other way of achieving this, otherwise it seems to be impossible to have polling updates from the sever whilst a user is editing the data on the client...

Many thanks,
Dave.
Alexander Valchev
Telerik team
 answered on 03 Jul 2013
1 answer
115 views
I've noticed this while building a KendoUI mobile page to be used in Phonegap.  

I've noticed that if you start your touch on an input field (not the label) and try to scroll the entire page, navbar  header  footer  etc, will scroll with the page instead of just the content of the page scrolling.

Is this normal behavior, if so any easy work around to the problem?

I'm using version 2013.1.514 (Q1 2013).
Seem to be most visible in iOS but also happens in Android 4.2 (blue effect on top/bottom).

Thanks,
Andrew

ps. first time post if I need to reformat or include anything else in this post please let me know. 
Petyo
Telerik team
 answered on 03 Jul 2013
1 answer
79 views
I have numeric text boxes in edit mode in a grid. 

In IE and Firefox, it works well, but in Chrome, the first click (only the first) on a value to edit it causes the web page scolling automatically.   So if you click twice quickly, the second click will occur on another value.
Dimo
Telerik team
 answered on 03 Jul 2013
15 answers
123 views
Please try as follows...

  • Open Demo Grid Local Data
  • Select the Metro theme
  • Click on the filter icon (any column)
  • Play with the comboboxes (select, hover, blur, etc.)

If you hover with the mouse, the background is green. Most of the time, the text color is white. However, sometimes it is gray and very difficult to read. I can make it gray by...

  • hover the second "is equal to" combobox
  • click on it
  • the drop down appears
  • click on it again
  • the drop down is hidden
  • move the mouse away
Michael G. Schneider
Alexander Valchev
Telerik team
 answered on 03 Jul 2013
7 answers
2.2K+ views
Hi,

I have grid and need to search a record(By matching) and navigate the default page to  matching record's page on page load. E.g. I have a record called "Item 20" which is in Page 10. I need to pass "Item 20" and navigate the grid to page 10 on load by default.

Any help on this will be great support.

Thanks,
SAJID
Top achievements
Rank 1
 answered on 03 Jul 2013
1 answer
163 views
Hello!
I'm trying to figure out how do some fancy  grouping of columns AND rows.
Any pointers how can I archive results as in attached image?


Dimiter Madjarov
Telerik team
 answered on 03 Jul 2013
1 answer
159 views
http://jsfiddle.net/klaudyuxxx/a9wqL/52/

I know ButtonGroup was not made  to hold any DatePickers, but is there a workaround to make it look ok?
The buttons get a little bit huge after initializing the DatePicker, and the DatePicker itself inherits some styles and doesn't look as it supposed to.
In ScrollView No2 is what I'll use instead of ButtonGroup, but it's not that pretty.

Thank you!
Kamen Bundev
Telerik team
 answered on 03 Jul 2013
8 answers
2.2K+ views
Hi,

I am trying to concatentate text like so:

js
viewModel = kendo.observable({
                       AdminName: data.AdminName,
                       AdminEmail: data.AdminEmail
                   });
 
    kendo.bind($("#admin"), viewModel);

html
<a data-bind="attr: { href: 'mailto:' + AdminEmail}, text: AdminName"></a>

but this doesn't work.  Can I concatenate text, or do I have to define the exact text in the viewmodel?

David A.


Alexander Valchev
Telerik team
 answered on 03 Jul 2013
2 answers
80 views
I'm trying to use the Stock Chart for non-stock data because the navigator functionality is very helpful. Our data can have multiple entries at different times of a day, and then go for days/weeks/months without another entry. So, having the zoom/pan feature is important.

Here is an example of what I'm trying to do not quite working: http://jsbin.com/eyelec/1/edit
I don't get the window effect in the navigator to allow for zooming/panning.

.. Josh
Josh
Top achievements
Rank 1
 answered on 02 Jul 2013
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)
SPA
Filter
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
OrgChart
TextBox
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
Popover
DockManager
FloatingActionButton
TaskBoard
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
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?