Hi,
I have a landing page where I want to show my apps in the mobile scroll view( 5 items per page). Basically for each app, we show the icon and the name . The app object list is coming from a kendo datasource ( from web API call).
1) My Data-source is dynamic so I cannot rely on a hard coded Index to display the scroll view item , for now I have 9 items and I want to display 5 on the first page and the remaining 4 on the second page , is there a work around for this?( see code below, in my case I'll get the null object exception cannot access appName )
2) In the documentation, it is said that : In order ensure smooth scrolling the pageSize of the DataSource should be 6 times itemsPerPage amount or higher. For example, if itemsPerPage is set to 5, then the pageSize must be 24 (4*6) or higher.
In my case I have a dynamic page size (9 for now) and I display 5 items per page, is there a work around for this?
Is there a complete example for the integration of Kendo mobile scroll view in Angular?
HTML
<section style="text-align: center">
<div style="max-height: 300px;">
<script id="scrollview-template" type="text/x-kendo-template">
<a class="apps #= data[0].icon #" href="#= data[0].href #">
<h3>#= data[0].appName #</h3>
</a>
<a class="apps #= data[1].icon #" href="#= data[1].href #">
<h3>#= data[1].appName #</h3>
</a>
<a class="apps #= data[2].icon #" href="#= data[2].href #">
<h3>#= data[2].appName #</h3>
</a>
<a class="apps #= data[3].icon #" href="#= data[3].href #">
<h3>#= data[3].appName #</h3>
</a>
</script>
<div id="landing-apps-list" data-role="view" data-stretch="true" data-ng-init="onInit()">
<div id="scrollview" ng-data-changing="changing($event)"></div>
<a data-role="button" ng-click="prev($event)">Prev</a>
<a data-role="button" ng-click="next($event)">Next</a>
</div>
code in angular controller:
$scope.onInit = function () {
$("#scrollview").kendoMobileScrollView({
dataSource: {
transport: {
read: operatorsService.profile
},
schema: {
data: "apps",
parse: function (data) {
if (data.languageCode)
languageSvc.setLanguage(data.languageCode);
return data;
}
},
filterable: true,
filter: { field: "isInMainApp", operator: "eq", value: false }
},
itemsPerPage: 4,
template: $("#scrollview-template").html()
});
};
$scope.next = function ($event) {
var scrollview = $("#scrollview").data("kendoMobileScrollView");
scrollview.next();
}
$scope.prev = function ($event) {
var scrollview = $("#scrollview").data("kendoMobileScrollView");
scrollview.prev();
}
hi everyone
on my grid have this two fields
<input data-bind="value:GroupName" name="GroupName" > field on the root level of the object
<input data-bind="value:ThresholdsbSettings.Hold.Value" name="TransactionsHoldAllowedWarning" > nesting on the root level of the object
i need to be able to change the model object before submit to server
this is how i do it and it works only for the GroupName field
var model = $("#mid_groups_grid").data("kendoGrid").dataSource.getByUid(uid);
model.set("GroupName", null);
when i try to use this code on the nested object (TransactionsHoldAllowedWarning)
it will not change it but it will be added to the root object for some reason (look at the attached picture)
any ideas how to how to use model.set with nested object
thank u
In the ASP.Net hierarchical grid, we were able to display HTML formatting in cells. How do I turn this on in the Kendo TreeList?
For example, I want the following string...
<p>Now is the time for</p>
<ul>
<li>All good men<strong> to come to </strong>the aid of the party;</li>
<li>the <em>quick </em>brown fox to jump over the <strong>lazy </strong>dog;</li>
<li>all <strong> good </strong> boys <em>deserve</em> fudge.</li>
</ul>
...to appear like this:
Now is the time for
I copied this from a post in made in 2012. This is exactly what is happening in my application. Any pointers on how to get around it? Everything works fine until I try to filter on more than one column.
I am trying to implement server side filtering using the Kendo UI Grid and ASP .NET Web API RC. It works fine with one column, but when the user filters on a second column issues occur. The values for the second column seem to be included in the array of values for column one. How can I parse this on the server?
I am including the JSON format of the data being passed to the server because it is easier to read. Normally I have to pass the values in the query string. If the JSON format could be used that would be better (so let me know if anyone knows how):
{"take":10,"skip":0,"page":1,"pageSize":10,"filter":{"filters":[{"field":"Column1","operator":"eq","value":"val1"},{"field":"Column1","operator":"eq","value":"val2"},{"logic":"or","filters":[{"field":"Column2","operator":"eq","value":5},{"field":"Column2","operator":"eq","value":1}]}],"logic":"and"},"group":[]}
Here are the c# objects for the mapping that I found online that currently only works with one column. PageListArguments is the object that is used as the input parameter for the Get function of the Web API Controller.
public class GridFilter
{
public string Field { get; set; }
public string Operator { get; set; }
public string Value { get; set; }
}
public class GridFilters
{
public List<GridFilter> Filters { get; set; }
public string Logic { get; set; }
}
public class GridSort
{
public string Field { get; set; }
public string Dir { get; set; }
}
public class PageListArguments
{
public int Take { get; set; }
public int Skip { get; set; }
public int Page { get; set; }
public int PageSize { get; set; }
public string Group { get; set; }
public List<GridSort> Sort { get; set; }
public GridFilters Filter { get; set; }
}
Everything parses fine except for the filter when more than one column is used.

Hi
I use PivotGrid v2016.1) with MS
SSAS (v2014) cube.
In my cube I created several calculated members, (one named EAC)
on dimension named Category.
When I’m using this dimension in PivotGrid as a column PivotGrid doesn’t
show any calculated members, but only dimension child members.
PivotGrid generates this MDX query:
SELECT NON EMPTY {[Category].[Category].[All],[Category].[Category].[All].Children} DIMENSION PROPERTIESCHILDREN_CARDINALITY, PARENT_UNIQUE_NAME ON COLUMNS FROM [SDCOE] WHERE ([Measures].[Value Cost])<br>PivotGrid generates this MDX query:
<p>SELECT NON EMPTY {[Category].[Category].[All],[Category].[Category].[All].Children} DIMENSION PROPERTIESCHILDREN_CARDINALITY, PARENT_UNIQUE_NAME ON COLUMNS FROM (SELECT ({[Category].[Category].&[1],[Category].[Category].[All].[EAC]}) ON 0 FROM [SDCOE]) WHERE ([Measures].[Value Cost])</p><p></p>Does it mean PivotGrid does't support dimension calculated members?
textAlign and verticalAlign both have a value of center (instead of respectively center and middle)
Therefore selecting textAlign=center sets verticalAlign=center and vice versa.
This can easily be checked in by (de)activating the corresponding toolbar aligmnent buttons on https://demos.telerik.com/kendo-ui/spreadsheet/index
Hello,
I have a Kendo Grid with a command column, that on clicking shows extra details for that row. I want to show this extra information in a Kendo Window. I have been able to achieve this. Next, I want to add a button inside this Kendo Window, that allows user to show the details for the next grid row, without having to go back to the grid. I am having some trouble with this. Few notes about the Kendo Window -
1. The contents of the Kendo Window is displayed using a Script template. I am passing the grid's current dataItem to the template to render HTML. More on this in #3
2. The user can have multiple such grids open in the same window, and hence multiple Kendo Windows, so it's not practical to save the current row number and grid # in JS. The number of the grids is dynamic, so there is no id associated with any of them.
3. To work around #2, instead of passing the grid's dataItem, I have an object that passes the entire data associated with the grid and the current index of the grid. The data in the grid is pretty small, so I am not too worried about passing entire data. In this approach, I was hoping, on the Next Button click action, I can retrieve the object passed earlier, and then increment the index. However, when I use Kendo Window's content(), I get a string back with HTML. I am guessing this is due to the Script template. I am not sure how to proceed with this approach. Is there a way to extract the underlying object that was passed to the script template?
Also, the approach in #3 seems very crude to me. Is there a better way to implement the functionality I am looking for? I looked around some of the other Kendo UI widgets, and Scrollview seemed like what I needed (minus the drag scroll). But it looks like scrollview is meant for mobile only?
Thanks,
Avnish

I added a Kendo Editor along with the FileBrowserController and ImageBrowserController per the example - File and Image Browser. My problem is the filter prevents all files from displaying. If the filter is in place I can't see any files in the directory even though there are files there with the correct extensions. If I comment out the filter I can see the files. I can see the Filter value getting set correctly in the debugger. Not sure how to fix this.
public class FileBrowserController : EditorFileBrowserController{ private const string contentFolderRoot = "~/Content/"; private const string prettyName = "Documents"; /// <summary> /// Gets the base paths from which content will be served. /// </summary> public override string ContentPath { get { return CreateUserFolder(); } } /// <summary> /// Gets the valid file extensions by which served files will be filtered. /// </summary> public override string Filter { get { return "*.txt, *.doc, *.docx, *.xls, *.xlsx, *.ppt, *.pptx, *.jpg, *.jpeg, *.gif, *.png, *.pdf"; } } private string CreateUserFolder() { var virtualPath = Path.Combine(contentFolderRoot, "Clients", prettyName); var path = Server.MapPath(virtualPath); if (!Directory.Exists(path)) { Directory.CreateDirectory(path); } return virtualPath; }}
@(Html.Kendo().Editor() .Name("editor") .HtmlAttributes(new { style = "height:440px" }) .Tools(tools => tools.Clear().InsertImage().InsertFile()) .Value(@<text> <p> Kendo UI Editor allows your users to edit HTML in a familiar, user-friendly way.<br /> In this version, the Editor provides the core HTML editing engine, which includes basic text formatting, hyperlinks, lists, and image handling. The widget <strong>outputs identical HTML</strong> across all major browsers, follows accessibility standards and provides API for content manipulation. </p> <p>Features include:</p> <ul> <li>Text formatting & alignment</li> <li>Bulleted and numbered lists</li> <li>Hyperlink and image dialogs</li> <li>Cross-browser support</li> <li>Identical HTML output across browsers</li> <li>Gracefully degrades to a <code>textarea</code> when JavaScript is turned off</li> </ul> <p> Read <a href="http://docs.telerik.com/kendo-ui">more details</a> or send us your <a href="http://www.telerik.com/forums">feedback</a>! </p> </text>) .ImageBrowser(imageBrowser => imageBrowser .Image("~/Content/Clients/Images/{0}") .Read("Read", "ImageBrowser") .Create("Create", "ImageBrowser") .Destroy("Destroy", "ImageBrowser") .Upload("Upload", "ImageBrowser") .Thumbnail("Thumbnail", "ImageBrowser")) .FileBrowser(fileBrowser => fileBrowser .File("~/Content/Clients/Documents/{0}") .Read("Read", "FileBrowser") .Create("Create", "FileBrowser") .Destroy("Destroy", "FileBrowser") .Upload("Upload", "FileBrowser") ))I have a grouped datasource. The datasource appears to only let me filter by the "value" / grouped item. How do I filter on properties such as name that are in the grouped items, "items" collection?