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.
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,
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?
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
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
