Telerik Forums
Kendo UI for jQuery Forum
0 answers
75 views
Having a drag and drop list is a big missing functionality. Am I just missing it?
Steven
Top achievements
Rank 1
 asked on 04 Jun 2012
0 answers
148 views
good Afternoon
I have a problem with scrolling. in firefox and chrome enable horizontal scrolling when you have many columns, but I open the demo in Internet Explorer and does not enable horizontal scrolling.

Another problem is that I open the application in ipad and shows no horizontal scrolling.

Please can you help with this

thanks
Lerovi
Top achievements
Rank 1
 asked on 04 Jun 2012
17 answers
1.7K+ views
I have spent hours looking at the documentation and examples for datasource CRUD the but cannot seem to get anything working.  Can you see what I am missing below?  I get "update is not a function" error.  I have tried many variations of this code but no luck getting anything to update or delete.

function listMessagesInit(){
     
     var messageDataSource = new kendo.data.DataSource({
       
       transport: {
           read: "/messages/data",
           update: {
       url: function(id, isnew) {
                       return "/messages/markasread/" + id + "/" + isnew ;
                   },
         
               type: "POST"
           },
           destroy: {
               url: "/messages/delete/210643",
               type: "DELETE"
           },
           parameterMap: function(options, operation) {    
               if (operation !== "read" && options.models) {
                   return {models: kendo.stringify(options.models)};
               }
           }              
       },  //not sure what this does or even if I need it       
       error: function(e) {
           alert(e.responseText);
       },           
       schema: {
         model: {
             id: "id",
             fields: {
                 created: "created",
                 message: "message",
                 customer_name: "customer_name",      
                 isnew: "isnew"   
                }
            }
        },
         
       /*change: function () {
                 $("#message_list").html(kendo.render(template, this.view()));
             } */      
      });
 
     $("#message_list").kendoMobileListView({
         dataSource: messageDataSource,
         //pullToRefresh: true,
                   appendOnRefresh: true,
         style: "inset",
         template: $("#message_list_template").text()
     });
      
     $("#markasread").click(function(){
       messageDataSource.update({id: "216099", isnew:"1"});   
       messageDataSource.sync();          
     });
Nikolay
Top achievements
Rank 1
 answered on 04 Jun 2012
0 answers
56 views
I've been having some trouble writing datasource-aware plugins that internally uses MVVM and can also be used in pages via the declarative style and MVVM. 

  1. Is it even possible to use MVVM both outside and inside a plugin at the same time?
  2. Is there a particular way I should code a datasource-aware plugin so that it correctly refreshes its internal MVVM setup?
  3. For writing the internals of plugins, are we just supposed to manually select and set controls per-element? :(
Thanks for any help you can provide.
Joshua
Top achievements
Rank 1
 asked on 04 Jun 2012
0 answers
77 views
Good Morning I have a problem with the grid agreggates. while setting the grid with pagination on the server and additionally put the serverAggregates to true, this works very well in my firefox and chrome but in internet explorer tells me the following error:
sum is not defined .

and directs me to debug this part:
anonymous function (data) { var o, e = kendo.htmlEncode; with (data.fcantinv) {o = '<div style=\'text-align:right;\'>' + (kendo.format ("{0: C}", sum )) + '</ div>';} return o; }

Please can you help with this

thanks
Lerovi
Top achievements
Rank 1
 asked on 04 Jun 2012
4 answers
236 views
When using more then one draggable, how can I differentiate between to the two when it is dropped on the droptarget.
I tried to examine the "e" object, but no identifier for each draggable is present/visible?
Simi
Top achievements
Rank 1
 answered on 04 Jun 2012
1 answer
83 views
Here is a jsfiddle that shows the bug...

http://jsfiddle.net/YxtE6/44/

I have created 2 identical pie charts, except for the overlay: {gradient: "none"} setting on the second chart.

Tooltips work fine on the first one and not at all on the second one.

Any ideas?

Rik
Iliana Dyankova
Telerik team
 answered on 04 Jun 2012
1 answer
174 views
I've been racking my brain for several days trying to figure out a way to add an entire JSON collection to a DataStore without iterating through the JSON collection and calling .add for all the items.

Is there a way to do this?
Alexander Valchev
Telerik team
 answered on 04 Jun 2012
1 answer
276 views
Hi,

Can the menu exist as one horizontal list that does not wrap to consume more page/screen real estate than is required?  The problem is this 

    | browser width boundary
| menu item 1 | menu item 2 |
| menu item 3 | menu item 4 |
      | browser width boundary

I desire this:
    | browser width boundary
    |
| menu item 1 | menu item 2 | menu item 3 | menu item 4 | 
            |
    | browser width boundary

Is it possible?  One thought, for horizontal scrolling due to the inevitable overflow that this type of layout would create, is to wrap the menu with a simple div and use the iScroll library (http://cubiq.org/iscroll-4) for the horizontal scrolling of menu items, like this: 

myScroll = new iScroll('wrapper'); // 'wrapper' is the div element with id='wrapper'


Would this type of solution work for the Kendo UI menu control?

Dan

Kamen Bundev
Telerik team
 answered on 04 Jun 2012
1 answer
543 views
Hi,

My grid is sorted by a numeric column by default and I have two custom commands that change the content of this column so that the elements in the grid are reordered. I call a grid.refresh() whenever the content of this column change and I see that the displayed value are refreshed, but the sort is not reapplied.

How can I reapply the sort programmatically?

Regards,

Alex
Alex
Top achievements
Rank 2
 answered on 04 Jun 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?