Hello,
I have the code to export to excel, and to even format the date cells, but when I try to format to include am/pm it is not working. I am using the same format text to display am/pm in the grid successfully with "tt" but it does not seem to apply to excel's cell. It displays, for example, "08/06/2015 21:33:02 tt" instead of "8/6/2015 9:33:02 PM" which is the desired result.
excelExport: function(e) { var sheet = e.workbook.sheets[0]; for (var rowIndex = 1; rowIndex < sheet.rows.length; rowIndex++) { var row = sheet.rows[rowIndex]; for (var cellIndex = 0; cellIndex < row.cells.length; cellIndex ++) { row.cells[cellIndex].format = "MM/dd/yyyy hh:mm tt" } } }Hi,
i am asking if it is technically possible to use server side paging, sorting together with grouping using the kendo grid extension methods. I successfully implemented a repository that is executing a DataSourceRequest on an queryable sequence.
private PagedListResult<T> BuildResult(SearchQuery<T> searchQuery, IQueryable<T> sequence){ var resultCount = sequence.Count(); // Filter sequence = (IQueryable<TEntity>)sequence.Where(this.FilterDescriptors); var result = (searchQuery.Take > 0) ? (sequence.Skip(searchQuery.Skip).Take(searchQuery.Take).ToList()) : (sequence.ToList()); var hasNext = (searchQuery.Skip > 0 || searchQuery.Take > 0) && (searchQuery.Skip + searchQuery.Take < resultCount); return new PagedListResult<T> { Entities = result, HasNext = hasNext, HasPrevious = (searchQuery.Skip > 0), Count = resultCount };}I tried to ​add grouping as well, but i cannot find a way how to handle it. There is an extension method that looks pretty:
public override IQueryable<TEntity> ApplyGroups(IQueryable<TEntity> sequence){ if (this.GroupDescriptors.Any()) { var queryable = sequence.GroupBy(this.GroupDescriptors); return (IQueryable<TEntity>)queryable; // fails } return sequence;}But i am not able to cast it to IQueryable again in order to apply further filters and paging. The returned object is of type "Kendo.Mvc.Infrastructure.AggregateFunctionsGroup" and thats why I keep getting an invalidcastexception.
"System.Data.Entity.Infrastructure.DbQuery`1[Kendo.Mvc.Infrastructure.AggregateFunctionsGroup]" cannot be converted to type "System.Linq.IQueryable`1[MyEntity]"
The internal query is looking as expected. Is there a way to cast it or what i am doing wrong? If not, how do you have to use this extension method in this custom binding scenario that must return a PagedListResult?
Many thanks in advcance,
Holger
.data('kendoSplitter').trigger('resize').
I couldn't find any examples of calling trigger within the api docs at all anymore. This led me to the guides section which details calling .data('kendoSplitter').trigger('resize') manually. I did not miss it, it is not listed on the API docs. And sure enough, it behaves properly unlike the now deprecated trigger.

When using Kendo MVC NavBar with platform "ios7" in iPhone, when ever clicking on NavBar (left side where the drawer for exmaple), iPhone URL address bar will popup on top of the NavBar instead of above it.
You can also see example for this issue on your mobile demo website (demos.telerik.com/kendo-ui/m/index), just open link in horizontal view on iPhone 5 and try to click somewher on NavBar.
Is it possible to draw a month view with more than one day in the same column instead of one column for each day? I'm trying to club together more than one day in the same slot/column.
For example: August, 2015 should draw ​15/16 columns, each containing 2 days together.
Hi,
Is it possible to locate a Milsetone on top of a task (parent or child) bar? My Gantt chart does not include any dependencies, and I was just hoping to display a diamond on top of a task bar on the particular date is it set to be reached. If not, I was wondering what alternative options I might have to show the milestone. Thanks.
Hi,
Is it possible to have a unique tooltip template for different types of tasks? I have a field which tells me which type (of four possible options) a task is and I'd like to use that information in conditional statements to implement four different custom tooltip templates. Thanks for your help.
Hello,
I am wanting to persist the Grid settings (column re-ordering, sort order, etc), such that on subsequent page loads the grid settings are restored. The following JSBIN example http://jsbin.com/tonewefale/1/edit?js demonstrates my attempt to fetch and then restore the settings, however this does not seem to work as expected.
I am not sure, if I am missing on something obvious. Would be nice to have experts help me get a resolution to this problem.
Best Regards,
Nilesh Padbidri
