Hello,
how can i set a "ui-sref" as a url parameter to my datasource?
Working:
$scope.gridData = new kendo.data.ObservableArray([
{ text: "Pink Floyd",
items: [{
text:"The dark side of the Moon",
get url () {
return "http://www.google.ch"+this.text;
}
}] },
{ text: "The Bseatles", track: "I've just seen a face" },
{ text: "Queen", track: "Innuendo" }
]);
})
How can i set a url like this?:
<a ui-sref="something.somethingelse({param1: param1value, param2:param2value})" class="k-link" ng-click="events.something(param)" ng-bind="someValue"></a>
thanks,
werner
Hi, I am using Kendo Grid and trying to print the grid.
I am using the same method as in this page
It is working perfectly fine, but there is one problem.
The footer does not match the width of the other columns.
How can I fix this problem?
How are the changes to a grid stored prior to updating the underlying datasource?
I have a grid that I am building by building a JSON String and setting data = data: [ "column": "data", "column2": true ].
This grid holds several items for configuring another grid. The part I'm trying to figure out right now is once I make a change to this grid, (I have a few template columns that hold the data), how do I save those changes?
I know I can use $('#myGrid').data().kendoGrid.dataSource.view() to get the data, but this doesn't contain the updates that were made since the data was bound to the grid.
Ideally, I'd like the user to be able to freely edit the grid (check boxes and enter text) and then click a save button. Then I'd like them to be able to click a "refresh" button, that would export the updated grid to a JSON string.
In our grid we want to expand the detailview when the user selects a row.
Which works fine. The Selectable property of the grid is set to true and the selectmode to row. The onchange eventhandler is set to the function below
When the grid is clicked it handles the expansion or colapsing:
function kendoGridChange(e) {
var row = this.select();
if (row != null) {
if (row.next(".k-detail-row").is(":visible")) {
e.sender.collapseRow(row);
} else {
e.sender.expandRow(row);
}
}
}
This works fine.
But: when the user clicks the expand button itself the onchange event is also fired. Which leads to the expansion toggle. After that the default expansion behaviour is fired again. Which leads to a second toggle. Which results is no change.
We have tried in several ways to prevent this happening
None of this has solved the issue. Anybody know a way out ?
It worked fine in the MVC grid.
Peter
There seems to be an issue with the dropdownlist and the option Label
It is also happening in the demo page:
http://demos.telerik.com/kendo-ui/dropdownlist/cascadingdropdownlist
The optionLabel is displaying in the dropdown where it should not?
See the red arrow on the screenshot (from Chrome on windows)
It is also happening on iPad and definitely funny (attached a screenshot from my project for additional info)
We are facing formatting issue while pasting content in editor from other sources like word file.
1. Color of text get remove and default black color shows. If content is in bold, it maintain the boldness of text.
2. Alignment of text get remove and show left alignment where as actual alignment is center.
3. Many time headers of paragraphs get repeat and shows duplicate header (e.g. H1, H2 etc..).
Looking for solution to deal with such scenarios. Please suggest some available solutions for above cases.
Regards
Ramesh D.

I have a grid editable 'incell'. One of the columns is displayed as checkbox at all times, the others are static, but their editors are set to kendoComboBox.
The checkbox column is bound so that the current ':checked" state is applied to the underlying dataItem, like so:
$(".checkbox").unbind("change");$(".checkbox").bind("change", function (e) { var $row = $(e.target).closest("tr"), di = grid.dataItem($row), // grid is a ref to kendoGrid defined state = $(e.target).is(':checked'); console.group('change', $row, di.uid); console.log(di); di.set('group', state); console.log(di); console.groupEnd();});Now the problem I'm facing is that when I select an item in a ComboBox column and hit escape, the ComboBox choice is cancelled but so is the checkbox state. Even though the state has been applied, and even though the dataSource.hasChanges returns false.
What could I do to make escape cancel the targeted cell only? I wish we could have cancelCell method (equivalent of cancelRow in inline mode).
Thx, Artur
Hello,
Could you advice me here on how to get Legend working with dynamic data in pie charts. I did look at this sample example http://dojo.telerik.com/UGIjo where Legend is nor working as well.
Best Regards,
Devendra
how do you bind Data Source to normalized data? I know I can take the fields and data2 arrays and construct something that looks like data1 but that will be time consuming.
// Denormalizedvar data1 = [{"name":"John", "age":20},{"name":"Tom", "age":25}];// Normalized var fields = ["name","age"];var data2 = [["John",20],["Tom",25]];Hi,
I need to know the performance implications of using "Server" method vs "Ajax" method.I had to change all code to point to the Server method because using the tabstrip control does not work with Ajax Data.
Please find below my code.
Thanks
@(Html.Kendo().Grid(Model)
.Name(
"EscrowsGrid")
.Columns(columns =>
{
columns.Bound(p => p.Status);
columns.Bound(p => p.Name);
columns.Bound(p => p.Available);
columns.Bound(p => p.Balance);
})
.Sortable()
.Scrollable()
.Groupable()
.DataSource(dataSource => dataSource
.Server()
.Read(read => read.Action(
"EscrowData","Escrows"))