Telerik Forums
Kendo UI for jQuery Forum
1 answer
236 views

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?

Vladimir Iliev
Telerik team
 answered on 29 Jun 2015
1 answer
940 views

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.. 

 

 

Vladimir Iliev
Telerik team
 answered on 29 Jun 2015
5 answers
180 views

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:

  1. Pane navigation doesn't work as one would expect in the details pane. If the details pane screen tries to navigate to another view, the whole page navigates to that view, not just the details pane. Is there a configuration option at the pane level for this?
  2. Another pane navigation issue. From the master pane (left side), if you select an item from a listview and use pane.navigate to display the view in the details pane, the onShow event handler for the detail view is only called once and then it's never called again. Transitions stop working too.
  3. Loading remote views using pane.navigation breaks the view layout for some reason. I'm using the android theme which has the navigation bar at the bottom of the screen, but when I load the views in the splitview pane the navigation is shown at the top.

 

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?

Petyo
Telerik team
 answered on 29 Jun 2015
1 answer
483 views

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

Bozhidar
Telerik team
 answered on 29 Jun 2015
1 answer
121 views

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.

Rosen
Telerik team
 answered on 29 Jun 2015
7 answers
180 views
Hey, 
The timeline view has a current time marker but when i try to use rtl on the widget,
The current time marker gets a left property with a very big number (something like 2000 pixels) so i cant see it..
Is it because rtl isnt supported in timeline view?

Thanks,
Matan.
Vladimir Iliev
Telerik team
 answered on 29 Jun 2015
0 answers
163 views

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

 

 

 

Coal8Support
Top achievements
Rank 1
 asked on 29 Jun 2015
2 answers
219 views

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

 

Georgi Krustev
Telerik team
 answered on 29 Jun 2015
1 answer
247 views

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

Iliana Dyankova
Telerik team
 answered on 29 Jun 2015
1 answer
263 views

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.

Nikolay Rusev
Telerik team
 answered on 29 Jun 2015
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?