Hi,
I've been through all of the documentation I can find and I can't find any reference to filtering dates with a gte (>=) operator in the Pivot Grids.
We use gte operator for a date field, in the Grids, to filter the data but have been unable to find a way to do this for the Pivot Grids when connected to the Cube.
Is this possible?
What we are basically trying to do is say, where [MatchDate].[CalendarDate], operator:"gte", "01/08/2015".
Regards,
Kim
I have an app using Kendo and in my model I have several arrays of items that I need to display in dropdown lists. I can display items in dropdown lists that are directly off the model but can not figure out how to access the item for the current row.
HTML for displaying the grid.
<div kendo-grid="grid" options="surchargeGridOptions"></div>JavaScript for my grid options.
$scope.surchargeGridOptions = { dataSource: { pageSize: 15, autoSync: true, autoBind: false, transport: { read: function(e) { service.getCustomers($scope.model.customer.CustomerID) .success(function(data, status, headers, config) { e.success(data); }); } } }, toolbar: ["create"], sortable: true, pageable: true, selectable: true, editable: true, columns: [ { field: "CarrierID", title: "Carrier", editor: "<input kendo-drop-down-list k-data-text-field=\"'Value'\" k-data-value-field=\"'Key'\" k-data-source=\"model.Carriers\" ng-model=\"dataItem.CarrierID\"/>", template: "#=getCarrierName(CarrierID)#" }, { field: "RateGroupID", title: "Rate Group", editor: "<input kendo-drop-down-list k-data-text-field=\"'Name'\" k-data-value-field=\"'Id'\" k-data-source=\"dataItem.RateGroups\" ng-model=\"dataItem.RateGroupID\"/>", template: "#=getRateGroupName(RateGroupID, dataItem.RateGroups)#" }, { command: "destroy", title: " ", }, ] };Function calls for templates
getCategoryName = function (key) { for (var idx = 0, length = $scope.model.Categories.length; idx < length; idx++) { if ($scope.model.Categories[idx].Key === key) { return $scope.model.Categories[idx].Value; } } return ""; }; getRateGroupName = function (key, list) { for (var idx = 0, length = list.length; idx < length; idx++) { if (list[idx].Id === key) { return list[idx].Name; } } return ""; };I have a Tab strip with multiple tabs. Each tab has a number of named controls\elements.
I want to be programaticaly select the tab which contains a specific control\element name.
function setTabIndev(tabStripName, iTab, ctrHighlight){ if ($('#' + tabStripName).length) { var tabStrip = $('#' + tabStripName).data('kendoTabStrip'); //If 'ctrHighlight' is set then find tab control is on and select that tab else use 'iTab' if (ctrHighlight && $('#' + ctrHighlight).length) { } else { if(itab) tabStrip.select(iTab); } }}Hi Team,
Last one week I didnt get any response for my different clarifications from your team past one week. THis is little emergency and critical. Could you please respond as soon as possible? It will be very helpful for me.


Hy,
i cant find the best way to validate dependent fields within the popup dialog from Kendo.
Here are my grid options:
$scope.gridOptions = { dataSource: data, selectable: "row", language : $translate.use(), pageable: true, editable: { mode: "popup", template: kendo.template($("#orderEditTemplate").html()) }, save: function(e) { if(e.model.OrderStateId == 9) { if(!e.model.ErrorReason) { $scope.error = "Reason!!!"; e.preventDefault(); } } }, columns: [ { field: "CreatedOn", title: $translate.instant("ADMIN.ORDERS.GRID.CREATEDON"), template: "#= moment(CreatedOn).format('L LT') #" }, { field : 'TotalAmount', template : "{{ dataItem.TotalAmount | ccurrency:dataItem.Currency }}", title: $translate.instant("ADMIN.ORDERS.GRID.TOTALAMOUNT") }, { field: "Description", title: $translate.instant("ADMIN.ORDERS.GRID.DESCRIPTION") }, { field: "OrderStateId", title: $translate.instant("ADMIN.ORDERS.GRID.STATUS"), template : '{{ dataItem.OrderStateId | orderStatus }}' }, { command: "edit", title: " ", width: "100px" } ]};This is my Popup Template:
<script type="text/x-kendo-template" id="orderEditTemplate"> <div> <div class="alert alert-danger" ng-show="error"> {{error}} </div> <div class="form-group"> <label>PaymentState</label> <select kendo-drop-down-list k-on-change="dataItem.dirty=true" k-data-text-field="'Text'" k-data-value-field="'Value'" k-data-source="orderStates" ng-model="dataItem.OrderStateId"></select> </div> <div class="form-group" ng-show="dataItem.OrderStateId == 9"> <label>Reason:</label> <textarea class="form-control" rows="3" ng-model="dataItem.ErrorReason"></textarea> </div> </div></script>
What i woud like to to is. If the OrderStateId is set to 9, the ErrorReason field is required. If the OrderStateId is set the anything else, your good to go without ErrorReason. My Problem ist that my error-Alert in the Popup is never going to be displayed. I don't know why, but could it be possible that inside the popup its a different scope?
What is the best way with Kendo and Angular to Validate such things?
Best Regards
Dominik
Hi I need to populate the columns and page size from database. Not from model and hardcoding. I mean everything will be in dynamic. Kindly help me and provide the samples for this. My Existing code below.
@(Html.Kendo().Grid<kendo_grid_with_web_api_and_ondemand.Models.MsgDetails>()
.Name("gridnew")
.Columns(columns =>
{
columns.Bound(o => o.MsgNum).Width(110);
columns.Bound(o => o.MsgDesc).Width(130);
})
.Sortable()
.Scrollable(scrollable => scrollable.Virtual(true))
.Pageable()
.HtmlAttributes(new { style = "height:430px;" })
.DataSource(dataSource => dataSource
.Ajax()
.PageSize(100)
.Read(read => read.Action("MsgDetails_Read", "Home"))
)
)
Columns,Pagesize,Scrollable every property will be in DB. So I need to load populate from db with mvc kendo grid. Kindly help me.