Telerik Forums
Kendo UI for jQuery Forum
5 answers
245 views

Hello,

 I have a custom template and I am trying to have a validation for that template.

Dojo is here. http://dojo.telerik.com/@balaji/aMoBA

I have a validation on the Price column (required:true). 

But when I delete the Price value from cell and tab out, am not able to see the nice little tooltip provided by kendo. am I missing something?

Thanks.

Maria Ilieva
Telerik team
 answered on 28 Oct 2015
2 answers
139 views

Hi Guys,

 

I'm having a hard time getting along with the PanelBar and angularJs. I'm hoping "Integrates seamlessly with AngularJs" isn't just a tag line and i've overlooked something somewhere.

 I've written the functionality I am after (with the content displayed how I'd like) in pure AngularJs and this looks like the following

https://jsfiddle.net/5msbpmt9/3/​

I'm trying to replicate the granularity of being able to know what object behind the panelBar has been clicked on. All the entries follow the same layout and must have an image next to some text. I thought "contentUrls" may be the key there but I'm unsure as to how to use the angularJs scoped values from the item in the template file, plus also it appears I am unable to specify 1 content Url for all entries? it must be an entry for each item entry in the panel bar?

 Given the above jsfiddle implementation using just AngularJs, can anyone help me to implement the same kind of functionality in the PanelBar.

Joe
Top achievements
Rank 1
 answered on 28 Oct 2015
9 answers
332 views

Good morning , we upgrade to version 2015.2.827 , and several components have stopped working . Apparently this giving an internal error that could not figure out

 

The error occurs in the function below.

File Name:  kendo.web.js

/// ====================================================================

 function calculateAggregate(accumulator, aggregates, item, index, length, state) {
        aggregates = aggregates || [];
        var idx,
            aggr,
            functionName,
            len = aggregates.length;

        for (idx = 0; idx < len; idx++) {
            aggr = aggregates[idx];
            functionName = aggr.aggregate;
            var field = aggr.field;
            accumulator[field] = accumulator[field] || {};
            state[field] = state[field] || {};
            state[field][functionName] = state[field][functionName] || {};
            accumulator[field][functionName] = functions[functionName.toLowerCase()](accumulator[field][functionName], item, kendo.accessor(field), index, length, state[field][functionName]);
        }
    }​

 ==============================================================================================

Error: Uncaught TypeError: Cannot read property 'toLowerCase' of undefined

 

 

 

 

Nikolay Rusev
Telerik team
 answered on 28 Oct 2015
4 answers
152 views

Hello there

Before creating an example I wanted to ask that way: I'm using the Sortable widget of Kendo UI. It works fine so far. Now I want to get the ID of ALL items inside the sortable DIV container AFTER a sort has been taken place. Lets say there are 3 DIV elements inside the sortable container, each with an element called sortid (values 1, 2 and 3). I use therefore the change event of sortable:


change: function(e) {
    for (var i=0; i<3; i++) {
       alert($("#" + sortobjectdiv + i + " input[id='​sortid']").val());
   }

} ... 

Now I drag ​the DIV element with sortid = 3 (the most lower one on display) between the DIV elements with sortid 1 and 2 inside, the change event trigger output (for…):
1, 2, 3 -> thats the original setting as I wouldn't have changed anything. I would have expected the output: 1, 3, 2

Now I see the 3 DIV elements with their sortid in order of 1, 3, 2

When I now drag the last DIV element with sortid = 2 between the elements with sortid 1 and 3 the output is: 1, 2, 3 -> thats correct (for now). When dragging now DIV element with sortid = 3 between 1 and 2 again, the output is wrong again, next time correct again, over next time wrong again, etc.

I guess I do something wrong or my thinking about the change behaviour is wrong. That described output is what I would expect on "end" event but comparing those two in my case do have exactly always have the same output! I thought the change event would fire AFTER the DOM tree has been refreshed. 

Any hint?

 

 

Tayger
Top achievements
Rank 1
Iron
Iron
 answered on 27 Oct 2015
1 answer
1.7K+ views

Could you please help me with how I remote can click a button?

I have a button: { id: 'toolbar​Button', type: "button", text:'Button', click: function () { console.log(​'​Button clicked!'); } },

I click it like this: $('#toolbar​Button').click();

It should be simple but it's not working for me.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 27 Oct 2015
2 answers
85 views
I have a Kendo fx slideIn (kendo.fx($("#slideInMapTools")).slideIn("left");) and a kendoWindow ($("#basemapWindowDiv").data("kendoWindow"));

The slideIn has a zindex of 100. The window has a z-index of 1000.

Despite these x-indexes the slideIn still displays under the window.

How can I display the slide in on top of the window?
Iliana Dyankova
Telerik team
 answered on 27 Oct 2015
1 answer
158 views

Hi

  We are looking for Grids with AngualrJS support. I started to evaluated Kendo. Trying to get the data to show on the Grid but unsuccessful.Took your example from Demo & modified to get the data from our Server via Rest Api. I see the call is returning data (Can find in Fiddler) but not getting bind to the Grid. Spent couple of hours but couldn't figure out the solution. Can you advice.

 HTML

 <div id="example" ng-app="app">
        <div ng-controller="MyCtrl">
            <kendo-grid options="mainGridOptions">
            </kendo-grid>
        </div>
    </div>

SCRIPT ​

var app = angular.module('KendoDemos', ["kendo.directives"]);

app.controller("MyCtrl", function($scope) {
    $scope.mainGridOptions = {
               dataSource: {
                   transport: {
                                  
                     
                        read: {
     url:"//sbdvvrso244.dev.ib.tor.scotiabank.com:8080/fdsmonitorui/rest/tasks/all",                          
                            type: "POST"
                          }
                   }
               },
               sortable: true,
               pageable: true,
      
     
             
               columns: [{
                   field: "appId",
                   title: "App",
                   width: "120px"
               }, {
                   field: "groupId",
                   title: "Group",
                   width: "120px"
               }, {
                   field: "taskId",
                   title: "Task",
                   width: "120px"
               }, {
                   field: "taskName",
                   title: "Description",
                   width: "120px"
               }, {
                   field: "status"
               }]
           };

});

Thanks

Konstantin Dikov
Telerik team
 answered on 27 Oct 2015
2 answers
127 views

This example doesn't use the MultiSelect component but thought it was relevant to post here as I was unable to find a good example of what I was looking to do.  This example combines DropDownList, ListView and Sortable to create what is effectively an ordered multi-select component.

http://jsfiddle.net/kturner75/7pLohq91/​

Boyan Dimitrov
Telerik team
 answered on 27 Oct 2015
3 answers
568 views
Is it possible to have src in draw.image from a byte array? I manage to draw ​jpg with just canvas in html5 ​using "var datauri = "data:image/jpeg;base64,..."  so i try to make the same with kendo drawing api, no errors but no image. Could you help?
Emanuele
Top achievements
Rank 1
 answered on 27 Oct 2015
1 answer
313 views

I have tried to change the position of tooltip in Angular using k-position but it does not work. See http://dojo.telerik.com/EjALA Can the tool tip position be changed in the Angular syntax?

Sample:

<div kendo-tooltip k-content="'Sample Content'" k-position="left">
    Tool Tip
</div>

Thanks, Matt

Konstantin Dikov
Telerik team
 answered on 27 Oct 2015
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
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?