Telerik Forums
Kendo UI for jQuery Forum
8 answers
233 views

Hi,

 

I'm trying to change some toolbar items at runtime by updating the options held in $scope.

The attached file in Index.zip uses an older version of Kendo and works fine (the modal window title and button text on the 2nd toolbar button get updated as I'm trying to do).

When I change to use the current version of Kendo with the following CSS/JS files, as shown in the attached file IndexBad.js.zip, it blows up with the following error:

Error: [ng:areq] http://errors.angularjs.org/1.3.0/ng/areq?p0=MyCtrl&p1=not%20a%20function%2C%20got%20undefined
    at Error (native)
    at http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:6:416
    at Mb (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:19:510)
    at nb (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:20:78)
    at $get (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:74:494)
    at http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:56:415
    at r (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:7:408)
    at M (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:56:281)
    at g (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:51:201)
    at g (http://cdn.kendostatic.com/2015.1.408/js/angular.min.js:51:218)

FYI, I've tried the broken version with jQuery from both the Kendo and jQuery CDNs, both throw the same error.

Is this a bug, or has some behavior changed? If it's a change, what is the correct way to do this in the updated version of Kendo?

Thanks,

Chris Csencsits

Kiril Nikolov
Telerik team
 answered on 23 Apr 2015
7 answers
483 views
I have a kendo angular slider and numeric textbox like below:
<div kendo-slider style="float:left;margin-right:10px;" id="slider2" k-min="0" k-max="100"  ng-disabled="false"></div>
 <input id="textBox2" kendo-numeric-text-box k-min="0" k-max="100"  style="width:60px;" k-options={format:'0.'} ng-disabled="false" />

Now on click of a checkbox, I need to toggle the slider and textbox between enable/disable. I am doing it like this:

var slider2 = $("#slider2").data("kendoSlider");
slider2.enable(true);
var textBox2 = $("#textBox2").data("kendoNumericTextBox");
textBox2.enable(true);

In chrome it is working but in IE (version 11) it is not.I have also created a standalone , here also the same issue.

http://dojo.telerik.com/oGuqa/3

Thanks in advance.

Regards
Satabdi
Kiril Nikolov
Telerik team
 answered on 23 Apr 2015
3 answers
179 views

Hi

 I do have many columns in Kendo (alot of data), hence I am trying to save every pixel of space.

 I am therefore (as done in our "old" grid solution called slickgrid) showing two data items in one cell as per this example (except column "title"):

http://dojo.telerik.com/OwABI

 

1. Now the sorting does not seem to work properly. The filter by word, nor the normal (click on header) sort work anymore. How can I fix this?

2. As mentioned I am trying to save space, because I have many columns is there a way to "hover" the arrow icon or have it use less space? (example on the first column where it uses a lot of space)  

 

Thank you

Dimo
Telerik team
 answered on 23 Apr 2015
3 answers
340 views

When the user selected file has quite a long file name, the name displays all the way to the end of the upload component and overlaps the progress indicator.

Can it be fixed so the file name automatically get truncated when it reaches the progress indicator?

 

 

Dimiter Madjarov
Telerik team
 answered on 23 Apr 2015
4 answers
367 views
Hi,

We are using KendoUI Angular TreeView and we are showing the context menu on the tree view.
We want to enable keyboard navigation for this context menu, can somebody please point us to examples..?

code which shows treeview and context menu can be seen here

Thanks!!

Regards,
Narendra
Alexander Popov
Telerik team
 answered on 23 Apr 2015
4 answers
178 views

Hi

I have a grid which exports perfectly to Excel but throws an exception as soon as I add a field with a name using dot syntax like:

'["Toponym.id"]'

Is there a work around or a bug fix for this caes?

Regards

Alex

 

Alex
Top achievements
Rank 1
Iron
 answered on 23 Apr 2015
1 answer
143 views

I have a requirement where the number of graphs, graph data and information related to graph are all bound via a web service call.

 I am trying to find if there is a way to bind Graph's Category, Value Axis' Titles and Graph Title from a web service call. Please see http://dojo.telerik.com/OyEVi for an example of what I am trying to accomplish. I am dynamically trying to bind category and value axis titles to "GraphValueAxisTitle" and "GraphCategoryAxisTitle". Just wondering if its possible to data bind this information via MVVM?

 

Thanks

Venkata

T. Tsonev
Telerik team
 answered on 23 Apr 2015
1 answer
66 views

Hi

I am aware that you can pass a template attribute that contains the cell html to the grid or use your special templating syntax.

Is it possible to return a DOM object for a cell template so events such as onClick will work correctly?

Basically I'm trying to get a full function of marionette itemview as a cell element and since only html can be returned (from what I figured out) the events dont register.

At the moment I'm rendering a cell this way:

column.template = (dataItem) => new SomeItemView(model: @_buildModelFromItemData(dataItem)).render().$el.html()

Atanas Korchev
Telerik team
 answered on 23 Apr 2015
14 answers
2.6K+ views
Hi folks,
We use a date format of d-MMM-yyyy ( format: {0:d-MMM-yyyy}, etc..  ), but I haven't had any luck getting it to sort correctly, please review my fiddle:

http://jsfiddle.net/crunchfactory/dje9n6u9/

Bug? Do I need to do something different?

Thank you,

j

jeff
Top achievements
Rank 1
 answered on 22 Apr 2015
4 answers
238 views

I just had a quick question regarding memory management with the Drawing API.  There doesn't appear to be any documented "destroy" method for the drawing elements (Group, Path, etc.).  Is it sufficient to call surface.destroy() to properly clear up and remove all drawing content? 

 Also, I noticed that calling surface.destroy() does not appear to remove the markup from the page.  Do I need to manually remove the SVG element from the document with something like $("#container").find("svg").remove() ?

 

Gord
Top achievements
Rank 1
 answered on 22 Apr 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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?