Telerik Forums
Kendo UI for jQuery Forum
2 answers
458 views

Hello, I have a Kendo Grid I am creating from JSON data.  I am attempting to pass a function to a custom Command button's click event within the grid to get that row's data when it is clicked.  Due to my grid data coming from JSON, my command field's click event in my column array is stored as a string value. 

In JSON, my command field looks as follows:

                                      "command": [
                                        {
                                          "name": "Select",
                                          "click": "testFunction();"
                                        }
                                      ]

When the button is clicked in the grid, I am given the following Console error:

jquery-2.1.4.min.js:3 Uncaught TypeError: ((n.event.special[g.origType] || (intermediate value)).handle || g.handler).apply is not a function(…)

I have attempted to pass in testFunction as "eval(testFunction() );" and even attempted to recreate my column data with a New Function object instead of the string, however I could not get the column array to play nice with Kendo and consistently received e.chartAt errors when the grid attempted to parse.  I used the following demo to create my column data dynamically:

http://jsbin.com/iharik/6/edit?html,js,output

I really would like to simply specify my function call from the JSON data.  I have also thought about finding the Click event from within Kendo UI and attempting to parse my string there as well.  I can't think of any other ways to get this to function from JSON data.

Ryan
Top achievements
Rank 1
 answered on 07 Nov 2016
9 answers
273 views
Do you guys plan on supporting jQuery 2.0 in the near future? I tried using it and the Grids got all out of whack.
Claire
Top achievements
Rank 1
 answered on 07 Nov 2016
4 answers
198 views

Hello,
We would like to know how to configure kendo for a given model binder to be the last of all the binders executed when a property is bound to multiple custom binders ?

E.g.:

<div data-bind="customBinder1:someAction, enabled:someOtherAction, customBinder2:anotherAction, value:someProperty"></div>

How to ensure customBinder2 will ALWAYS be the last one to refresh the dom element state ?

 

Regards,

Pascal
Top achievements
Rank 1
 answered on 07 Nov 2016
1 answer
168 views

We are using a helper for our grid throughout our application.  We are using Gridbuilder<T>.  How would I go about making all grids that use this helper have locked(frozen) command columns?

Danail Vasilev
Telerik team
 answered on 07 Nov 2016
4 answers
310 views

Hi All,

I am new to kendo UI.  The requirement from the client is that he wants 4 button selectors which will have the fact columns(i.e Revenue , cost etc) that will filter the graph.

What is the best method to achieve this? How do I make this button selector filter the graph?

Please give me some suggestions.

Thanks,

Lakshman

Iliana Dyankova
Telerik team
 answered on 07 Nov 2016
1 answer
445 views

In the spreadsheet when referencing other cells, only non-empty cell values are carried over

1. Click into a cell  (i.e. A20)

2. Enter a value ( abc ); hit return or tab to another cell

3. Click back into the cell ( A20)

4. In that cell, enter a reference to another cell that is empty  (  = A19  );  hit return or tab to another cell

5. The value is not replaced with the 'empty' value from the referenced cell; the original value ( abc )  remains

6. Enter a value in the referenced cell ( enter  xyz  into  A19) - the cell that has the reference ( A20 ) changes its value correctly to the referenced value (xyz from A19)

7. Go back to the referenced cell ( A19 ),  delete the value;   the cell that has the reference ( A20 ) does not change, it still displays the 'old' value ( xyz )

Essentially, if a referenced cell has a null value, the null value is not carried to the cell reference.  We were able to recreate on the demo spreadsheet ( http://demos.telerik.com/kendo-ui/spreadsheet/index ).   

Thank you

 

Dimiter Topalov
Telerik team
 answered on 07 Nov 2016
18 answers
2.9K+ views
Hi,

I am using Kendo UI basic bar chart to render contents.On category axis I am showing text strings which are some project categories.Due to long names labels are overlapping each other.I searched in documentation but not able to find the solution.So can you please tell me how to get rid from that.I am attaching the sample chart image.


Thanks 
Arpit Agrawal
Iliana Dyankova
Telerik team
 answered on 07 Nov 2016
4 answers
761 views
Hello Kendo forum.

I'm investigating the possibility to replace an older grid in our application to the Kendo Grid. The application is an n-tier MVC application and as the title says I would like sorting to happen client side without any postbacks (normal or ajax) and when the user changes the filter or paging I would like the grid to refresh with new data from the server. Can this be achieved, and if so, how?

I've been looking at the the grid.dataSource.serverSorting property but haven't been able to make it work. It also seems to only be available in the javascript setup and we would like to use the Html helper @(Html.Kendo().Grid() to setup the grid in order to get Razor syntax support.

I also noticed that the serverSorting, serverFiltering and serverPaging properties was available on the Kendo.Mvc.UI.DataSource type in the Controller but I'm not sure how to databind that to the grid and if it would work.

Thanks in advance.
Nikolay Rusev
Telerik team
 answered on 07 Nov 2016
4 answers
178 views
One example is just navigating to the demo page for export to pdf in an actual IE8 or IE7 browser:
http://demos.telerik.com/kendo-ui/grid/pdf-export

It causes a javascript error with getComputedStyle
sameer
Top achievements
Rank 1
 answered on 07 Nov 2016
6 answers
1.1K+ views
Is there a way to bind the checkboxes of the TreeView to a field in the DataSource?
Stefan
Telerik team
 answered on 04 Nov 2016
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?