Currently in the Month view, when there are 3 or more events in one day, a button containing "..." is displayed that will take you to the Day view for that day.
I would like to have that "..." button (k-more-events) to be displayed even if there are only 1 or 2 events for that day.
How can I accomplish this?
I am using the Kendo Grid from my Angular JS application and I have server paging working for large datasets. However I am trying to get Filtering and Sorting working and I have run into and issue with your library. When I enable filtering and sorting and monitor the URL request that is made from the grid in the browser it is as follows...
http://localhost:52442/api/samples?take=5&skip=0&page=1&pageSize=5&sort%5B0%5D%5Bfield%5D=Mid&sort%5B0%5D%5Bdir%5D=asc&filter%5Blogic%5D=and&filter%5Bfilters%5D%5B0%5D%5Bfield%5D=Name&filter%5Bfilters%5D%5B0%5D%5Boperator%5D=startswith&filter%5Bfilters%5D%5B0%5D%5Bvalue%5D=uuuu
so there is filter values being sent
however in my server side code both the Sorts and Filters properties on the dataSourceRequest are ALWAYS NULL.
Server Side Code is as follows
public GridPageResult<ReconciliationStatusModel> Get([FromUri]DataSourceRequest dataSourceRequest)
{
var items = Builder<ReconciliationStatusModel>.CreateListOfSize(100)
.Build().AsQueryable();
var resultFromDataSource = Json(items.ToDataSourceResult(dataSourceRequest));
var result = new GridPageResult<ReconciliationStatusModel>
{
Data = (IEnumerable<ReconciliationStatusModel>) resultFromDataSource.Content.Data,
TotalItems = 100,
PageNumber = dataSourceRequest.Page,
PageSize = dataSourceRequest.PageSize
};
return result;
}
Client side I have
$scope.mainGridOptions = {
toolbar: ["excel"],
excel: {
fileName: "Solar.xlsx",
allPages: true,
filterable: true
},
dataSource: {
//type: "json",
transport: {
read: "/api/samples",
dataType: "json"
},
pageSize: 5,
type: 'json',
serverPaging: true,
serverSorting: true,
serverFiltering: true,
schema: {
data: function (result) {
return result.Data;
},
total: function (result) {
return result.TotalItems || result.length || 0;
},
model: { ClientType: 'ClientType' }
}
},
filterable: {
extra: false,
operators: {
string: {
startswith: "Starts with",
eq: "Is equal to",
neq: "Is not equal to"
}
}
},
sortable: true,
pageable: true,
selectable: false,
dataBound: function () {
//this.expandRow(this.tbody.find("tr.k-master-row").first());
},
columns: [{
title: "Client Type",
field: "ClientType",
width: "50px",
filterable: {
messages: {
info: 'Show items custom message:'
}
}
etc..
I've been developing a phonegap application using Kendo and overall the result has been pretty good. I've been focusing on just phone screen size, but now I'm adapting it to tablet, meaning that on some cases where there's a listview that goes to a details view, I'd like to use a SplitView to make a better use of the screen size on a tablet device.
I've developed all my screens as remote views, each one in its separate html file and each one is bound to its own viewmodel.
That being said, now I'd like to reuse my existing views in a splitview layout, but it hasn't been as easy as I thought it would be (or I haven't found the correct documentation/examples). All examples I've seen are very basic and just use a couple of views, all defined in the same file.
In a real world application, that's most likely not the case and you'll have quite a few screens that you can navigate to and that you cannot have all of them in the same file if multiple developers are working on the same app.
Issues I've found so far:
I've stopped developing the split view at the moment as I've found myself writing a lot of hacky code to bypass this limitations.
This could actually be a showstopper for using your framework in my application.
Are the issues I mentioned solvable? Am I missing something?
Hi
Is it possible to set the week start day to a different day (e.g. it seems to be set as Sunday, we are looking to also have Monday as start - depending on configuration)
We did try to use working week - Monday to Sunday but seems we cant set the end day as Sunday) - eg with code like
showWorkDays: true, workWeekStart:1, workWeekEnd:0,
http://dojo.telerik.com/OHAsO
​
Thanks
Chris
Hi,
Looking over the DataSource API, setting the transport.update method to a function requires an options.success(result) callback.
I am unable to find any documentation on what "result" should be, i.e. what properties that object should contain and what they all mean.
This is also the case with other callbacks and objects in the documentation. Am I just silly in missing something obvious? Where do I find documentation on these internal objects' structures?
Thanks,
Denis.
Hi,
Just wondering if there is a way to specify the sequence of the shapes in the diagram when I add shapes to the diagram via datasource and connectionSource.
the example 1 is
http://dojo.telerik.com/aQUPE
I am trying to get the s1 above the s2 and s2 above s3, but the result is s3 above s2 and s2 above s1.
the example 2 is
http://dojo.telerik.com/EfUPu
I am still trying to add s1 above s2 and s2 above s3. In the next level , I am trying to have s4 above s5
Please could you let me how specify the order of the space in the diagram if it can be done? I am using layout - layered and right.
If not, could you let me know the logic of setting up the shapes' positions behide the diagram
Hi,
Breeze zValidate directive offers simple validation in which it display red border around the invalid input and so on. I would like to replace it with Kendo UI validator but only the UI part. I would like to keep the validation rules from the zDirective. So the validation logic will work as follow:
1. A numeric input text box
1.<td><input kendo-numeric-text-box spinners="false" ng-model="r.incomeReturn" data-z-validate /></td>1. When users enter/change the value, zdirective error handler valErrsChanged(newValue) will run:
01.function valErrsChanged(newValue) {02. if (domEl.setCustomValidity) {03. domEl.setCustomValidity(newValue || '');04. }05. 06. var errorHtml = newValue ? valTemplate.replace(/%error%/, newValue) : "";07. var isRequired = info.getIsRequired();08. var requiredHtml = isRequired ? requiredTemplate : '';09. decorator.innerHTML = (isRequired || !!errorHtml) ? requiredHtml + errorHtml : "";10. 11. }
2. Replace to Validation logic above with the following logic:
2.1 Make the current input border red but do not display any validation error message.
2.2 When users hover the input, it will display a tooltip with the validation message
Dear Kendo Community,
I'm working with different Kendo Charts for a while and they fulfil all the requirements so far. But currently I run into a use case where I need your help.
I use a stacked and grouped bar chart exactly like the example here:
http://demos.telerik.com/kendo-ui/bar-charts/grouped-stacked-bar
Is it possible to display the labels (stack name) for each column? This means below every pink column it should say "Female" and for the blue ones "Male".
Underneath these labels it should then display the year as it already does.
Thanks in advance.
Regards,
Feyzi Kurucay
In the release notes for Kendo UI Q2 2015 it says that grids now have a "No data" template option.
I can't seem to find anything in the demo, or the API reference regarding this. Can someone explain what this feature is and how to use it? I'm using Kendo UI MVC.