Telerik Forums
Kendo UI for jQuery Forum
1 answer
268 views

Hi, we are using Jenkins to build our project, in which bower will be invoked to install dependencies including Kendo UI professional. Regarding the credentials... I see the options are: 1) in bower.json, have something like "kendo-ui": "https://<user>:<pwd>@bower.telerik.com/bower-kendo-ui.git#~2016.1.412", or 2) have the <user>:<pwd> stored in _netrc (windows) or some plugin ( this option unfortunately does not work currently in our Jenkins, the build always suspends when starting to authenticate against kendo repository). Both options expose the credential to some extent.

The problem is, we can't really have a "build user" for downloading Kendo on the build server, as we would then have to pay for yet another license, or one of our developer's personal subscription accounts would have to be used. That sounds a bit weird. Is there any token, "API Key" or similar concept? If username/password is the only way to let bower download Kendo, any suggestions on how that should be done on Jenkins?

Petyo
Telerik team
 answered on 02 May 2016
1 answer
132 views

You can use this JSfiddle https://jsfiddle.net/s4c87msq/27/ and try the following examples:

 

1. Copy A2 to B2. B2 is now editable... I'd expect the copy to be ignored for the non-editable destination cell B2.

2. Copy row 1 to row 2. Row 2 is now fully editable... I'd expect the copy to be ignored for the non-editable destination cell B2.

3. Copy some text from elsewhere outside the spreadsheet and paste into one of the non-editable cells. The cell content is changed (but it is still non-editable)

 

Using 2016.1.412 version.

Kiril Nikolov
Telerik team
 answered on 02 May 2016
1 answer
392 views

I have added autocomplete in a popup. There are almost 1000 records in the list.

When suggestion list opens, autocomplete's popup element is bound at body level.

I am opening this page on Android device where autocomplete's list hides behind the keyboard in landscape mode. When I scroll the list, body behind the popup also scrolls when last point of autocomplete list is reached. Due to this autocomplete textbox and its list appear disconnected.

I used popup property of autocomplete and provided class of popup to this property's append attribute. In that case, autocomplete input and its list don't appear disconnected but popup scrolls when I scroll list after reaching to its last point and list also get closed when I scroll in this scenario due to which I'm not able to select last item of the list.

What should be done to fix this case?

Any help would be appreciated.

 

Thanks & Regards,

Gaurav Prajapati

Petyo
Telerik team
 answered on 02 May 2016
1 answer
302 views

I'm working on an windows cordova app and I want to implement the export feature for the grid. I added a local reference to the jszip.min.js file to avoid the remote url/ app sandbox error but when I click the Export button, nothing happens. What else should I do to get this to work?

 

 

Kiril Nikolov
Telerik team
 answered on 02 May 2016
2 answers
216 views

Kendo UI v2016.1.412 

jQuery v1.9.1

 

Any reason for the checked value of a node to pull back only undefined? Doesnt matter if I check the box or not. 

This worked before I started using lastest version

 

Dimitar
Telerik team
 answered on 02 May 2016
1 answer
149 views
I am just starting to look at using the spreadsheet control and I am not seeing how I would dynamically add sheets to a workbook. Is this possible and if so what would the syntax be to iterate through a list, each of which would then be populated with information from the server.
Kiril Nikolov
Telerik team
 answered on 02 May 2016
2 answers
346 views

Hi

 

I need a way to validate on my grid that at least one of two checkboxes is checked

 

I think this is not possible with the validation-extension {$.extend(true, kendo.ui.validator ...} method?

 

What would be the best way to achive this?

 

My grid is set to inline-editing

Is it possible to intercept, when the user clicks the save/update - button?

 

kind regards

Florian

Konstantin Dikov
Telerik team
 answered on 02 May 2016
2 answers
444 views

Hi,

I’m getting some unexpected query parameters passed back to the server when redefining some of the grid’s filter operators.

For example, if I customize the filter operators with the following:

filterable: {
      operators: {
        string: {
          "Contains": "Contains",
          "DoesNotContain": "Does not contain",
          "Equals": "Is equal to",
          "DoesNotEqual": "Is not equal to",
          "StartsWith": "Starts with",
          "EndsWith": "Ends with"
        }
      }
    },

I would then expect one of the query parameters to be the following when using the “Equals” operator.

filter[filters][0][operator]=Equals

However, instead it sends the standard equals operator:

filter[filters][0][operator]=eq

The behaviour is as I’d expect for the other operators. e.g.

filter[filters][0][operator]=StartsWith

I only experience the problem with the equals, greater than and less than operators.

Here is a jsfiddle demonstrating the problem. Of course the filters don’t actually work as the server side code doesn't support the custom operators. You need to look at the requests sent to the server to see the problem.

https://jsfiddle.net/snowman611/6mnzbc1e/3/

Has anyone else had this problem? What am I doing wrong?

Thanks,

Andrew

Andrew
Top achievements
Rank 1
 answered on 02 May 2016
2 answers
339 views
We are trying to bind the TreeView to an object that has camelCase properties. We have noticed a number of incompatibilities when trying to do this.

For example the property "level" seems to be defined by the dataItem object and if you map to that property it overrides that value, causing an exception in the code.

We have renamed properties to get around this but we seem to have an issue with the id mapping used to retrieve children elements. If the property is camel case the tree fails to call the Web service we have bound to it. If we change it to have the id mapping to be uppercase everything works as expected.

No error is thrown in the console but no children are returned because the TreeView doesn't attempt to contact the web service.

We would like all of our web apis to return JSON in camel case to conform to convention. This limitation is causing us some issues with consistency.

JS Code:
var statuteTreeDataSource: kendo.data.HierarchicalDataSource = new kendo.data.HierarchicalDataSource({
                transport: {
                    read: {
                        url: kendo.format("/api/StatutesTree/")
                    }
                },
                schema: {
                    model: {
                        id: "statuteKey",
                        fields: {
                            "statuteName": {
                                type: "string"
                            },
                            "statuteLevel": {
                                type: "string"
                            }
                        },
                        hasChildren: "statuteHasChildren"
                    }
                }
            });

            this.statuteTreeOptions = {
                dataSource: statuteTreeDataSource,
                dataTextField: "statuteName",
                select: function(e) {
                    this.expand(e.node);
                }
            };


HTML:

<md-sidenav class="md-sidenav-right"
            md-component-id="right"
            md-is-locked-open="$mdMedia('gt-md')"
            md-whiteframe="4"
            layout-fill>
    <div ng-controller="StatuteTreeController as vm">
        <md-toolbar>
            <div class="md-toolbar-tools" layout-align="center center">
                <h1>Statute Tree</h1>
            </div>
        </md-toolbar>
        <md-content class="nav-content" >
            <div kendo-treeview="tree" k-options="vm.statuteTreeOptions" k-on-change="vm.selectedItem = dataItem" ng-click="vm.nodeClick($event)">
                <span k-template="itemTemplate">{{ dataItem.text }}</span>
            </div>
        </md-content>
    </div>
</md-sidenav>


JSON:

[
  {
    "statuteKey": "Code,AG,Agriculture Code",
    "statuteHasChildren": true,
    "expirationDate": "9999-12-31T23:59:59",
    "selected": false,
    "code": "AG",
    "statuteName": "Agriculture Code",
    "children": null,
    "statuteLevel": "Code"
  },
  {
    "statuteKey": "Code,AL,Alcoholic Beverage Code",
    "statuteHasChildren": true,
    "expirationDate": "9999-12-31T23:59:59",
    "selected": false,
    "code": "AL",
    "statuteName": "Alcoholic Beverage Code",
    "children": null,
    "statuteLevel": "Code"
  }
]
Colin
Top achievements
Rank 1
 answered on 30 Apr 2016
1 answer
111 views

Example: http://dojo.telerik.com/AQEWo

 

I am trying to get a sparkline to be consistent in the amount of space that it uses.  The problem can be seen when a sparkline only has two points, it is significantly shorter than the sparkline with many points.

I would expect that the two sparklines be of equal lengths.

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 29 Apr 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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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?