Telerik Forums
Kendo UI for jQuery Forum
1 answer
181 views
OK, we can control columns size by ColumnWidth property. but can limit width of part of the grid where dimension data is shown? Can we force dimension members test wrap up and grow down and not pushing columns size to the right? Looks like AJAX grid can do the triclk
Georgi Krustev
Telerik team
 answered on 30 May 2016
1 answer
227 views

It is possible to generate QRCode from server side using Kendo.Mvc.UI.QRCode?
I need to generate the QRCode for a web service that will be called from a desktop application. 

Dimiter Madjarov
Telerik team
 answered on 27 May 2016
1 answer
779 views

Hava a Bar Chart with horizontal bars, and when thera are too many series the bars overlap. Is there a way to set auto height or enbale a vertical scroll bar?

Thansk!

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 27 May 2016
1 answer
444 views

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();
        }

Alexander Valchev
Telerik team
 answered on 27 May 2016
1 answer
536 views

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

Rosen
Telerik team
 answered on 27 May 2016
1 answer
149 views

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

  • All good men to come to the aid of the party;
  • the quick brown fox to jump over the lazy dog;
  • all good boys deserve fudge
Alex Gyoshev
Telerik team
 answered on 27 May 2016
1 answer
1.0K+ views

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.

Dimiter Topalov
Telerik team
 answered on 27 May 2016
3 answers
190 views

 

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>

Filter in PivotConfigurator is able to see all dimension members, children and calculated as wel. But when  I explicitly specify Category members in filter to include in query than PivotGrid returns all members but NOT calculated.

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 FROM [SDCOE]) WHERE ([Measures].[Value Cost])</p><p></p>

 Does it mean PivotGrid does't support dimension calculated members?

Rosen
Telerik team
 answered on 27 May 2016
5 answers
104 views
I noticed on http://docs.telerik.com/kendo-ui/api/javascript/dataviz/ui/chart#configuration-series.zIndex that there is an optional attribute for changing the sort order of a multi series chart.  When I set the zIndex, however, it does not work.  The chart still renders the way it wants.  Is there a way to set the stack order of the series?  The data is completely dynamic and it doesn't make sense to hard code a solution when something more dynamic will do.  Please advise.
T. Tsonev
Telerik team
 answered on 27 May 2016
1 answer
73 views

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

 

Alex Gyoshev
Telerik team
 answered on 27 May 2016
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
DatePicker
Spreadsheet
Upload
ListView (Mobile)
ComboBox
TabStrip
MultiSelect
AutoComplete
ListView
Menu
Templates
Gantt
Validation
TreeList
Diagram
NumericTextBox
Splitter
PanelBar
Application
Map
Drag and Drop
ToolTip
Calendar
PivotGrid
ScrollView (Mobile)
Toolbar
TabStrip (Mobile)
Slider
Button (Mobile)
Filter
SPA
Drawing API
Drawer (Mobile)
Globalization
LinearGauge
Sortable
ModalView
Hierarchical Data Source
Button
FileManager
MaskedTextBox
View
Form
NavBar
Notification
Switch (Mobile)
SplitView
ListBox
DropDownTree
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
ColorPicker
Pager
Styling
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
Licensing
ScrollView
Switch
TextArea
BulletChart
QRCode
ResponsivePanel
Wizard
CheckBoxGroup
Localization
Barcode
Breadcrumb
Collapsible
MultiViewCalendar
Touch
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
TaskBoard
Popover
DockManager
TimePicker
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
BottomNavigation
Ripple
SkeletonContainer
Avatar
Circular ProgressBar
FlatColorPicker
SplitButton
Signature
Chip
ChipList
VS Code Extension
AIPrompt
PropertyGrid
Sankey
Chart Wizard
OTP Input
SpeechToTextButton
InlineAIPrompt
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?