Telerik Forums
Kendo UI for jQuery Forum
1 answer
108 views
When using min and axisCrossingValue in order to show small values on log scale axis, if min and axisCrossingValue are bigger than 0.1 labels are incorrect. Workaround is to multiply label by 10.
Is this bug or are we doing something wrong?

http://trykendoui.telerik.com/uwaJ/3
Iliana Dyankova
Telerik team
 answered on 16 Jun 2014
3 answers
104 views
Hey everone,

my TreeView is bound to a DataSource, which containts Id, Parentid etc. for every node created.

How can i access theres data in the "drop" event? I need them to perform the correct database operations.

Regards,
Michael
Michael Hilgers
Top achievements
Rank 1
 answered on 16 Jun 2014
1 answer
311 views
I am building SPA. I've 3 screens(views): add-customer, add-customer-details, customer-list. add-customer is working fine with vm for it. User will be redirected to add-customer-details after adding customer with basic details. So I am changing view when clicks on "Next" button on add-customer view. All views are loaded with templates.

var addCustomerView = new kendo.View($('#add-customer-view-template').html(), {model: customerAdd});
 
var addCustomerDetailsView = new kendo.View($('#add-customer-details-view-template').html(), {model: customerAdd});
 
var customerAdd = kendo.observable({
    // properties and methods
    });

add-customer-details has kendo ui tabstrip with multiple forms. Currently I am trying to bind viewmodel customerAdd to both views. But the issue is details view has different controls compared to add-customer view.

So I couldn't bind viewmodel customerAdd to it. I couldn't bind kendo ui controls to viewmodel customerAdd.
I want to maintain one viewmodel for the whole process of adding customer with basic and with details.

How do I use viewmodel customerAdd for all three available views (add-customer, add-customer-details, customer-list) ??? And if it's not possible, what is the best way to accommodate and share all details in viewmodel to share it between multiple views ???
Petyo
Telerik team
 answered on 16 Jun 2014
1 answer
82 views
Hi,

Regarding Reordering and Grouping functionality in Kendo UI version 2014.1.502.
We have referred this link. 
http://demos.telerik.com/kendo-ui/grid/column-reordering

It is working perfectly in the Chrome.
Where for Firefox mozilla we need to click one time move that column and then it shows icon to reorder.
In IE 10 it is not working at all.

Can you let us know is it known issue?


Thanks!
Rosen
Telerik team
 answered on 16 Jun 2014
4 answers
169 views
I already asked a similar question [Object object] but I cannot reply in that thread anymore, I don't know why. So my problem is I make a successful autocomplete with remote data but I don't know what of the data I put into the success is set and where, in the dataSource or model because I then get an [Object object] in the Object property of the dataItem property of the fieldname I inserted in the autocomplete instead of just its value. Further more I would like to set/change additional values in the row of the successful autoselect or if the autoselect is closed without a selection.
CS
Top achievements
Rank 2
 answered on 16 Jun 2014
1 answer
131 views
Hello,

I'm using Kendo-ui JQuery version, and I'm trying to fill a kendo-ui grid from an ApiController.
My grid remains empty... What am I missing ?

Here is the result of my ApiController : ~/api/Countries :

[{"Id":4,"Name":"Germany"},
 {"Id":5,"Name":"China"},
 {"Id":6,"Name":"Myanmar"}]


Here is my ApiController code :

public class CountriesController : ApiController
{
    private DBContext db = new DBContext();
 
    // GET api/Countries
    [Queryable]
    public IQueryable<Country> GetCountries()
    {
        return db.Countries;
    }
}


Here is my cshtml code :

<script type='text/javascript'>
 
    $(document).ready(function () {
        $("#grid").kendoGrid({
            columns: [
                { field: "Id", title: "id" },
                { field: "Name", title: "name" }
            ],
            dataSource: new kendo.data.DataSource({
                transport: {
                    read: "api/Countries"
                },
                schema: {
                    model: {
                        id: "Id",
                        fields: {
                            Id: { type: "number" },
                            Name: { type: "string" }
                        }
                    }
                },
                pageSize: 3
            }),
            pageable: true
        });
    });
 
</script>


Thanks for your help.
Syl'
Top achievements
Rank 1
 answered on 13 Jun 2014
2 answers
191 views
I am trying to create displayBasket directive in order to wrap kendoGrid and other functionality. However, gridDataBound function does not receive kendoEvent - it says that e parameter is undefined. How can I fix this?

In HTML:

<display-basket grid-id="bb-grid" actions="bbActions" uids="uids" grid-options="bbOptions" grid-data-source-factory="bbDataSourceFactory" grid-data-source-options="bbDataSourceOptions">
</display-basket>

In JS:

bsktDirModule.directive ( 'displayBasket', function ( CBPmWebAPI, $compile, $http, $parse ) {
    return {
        restrict: 'AE',
        template: '<div kendo-grid id="{{gridId}}" k-options="gridOptions" k-on-data-bound="gridDataBound(kendoEvent)"></div>',
        scope: {
            actions: '=',
            uids: '=',
            gridId: '@',
            gridOptions: '=',
            gridDataSourceFactory: '=',
            gridDataSourceOptions: '='
        },
        ...
        controller: function($scope) {
            ...
            $scope.gridDataBound = function(e) {
                debugger
            }
            ...
        }
    };
});

Thanks,
Ivan
Ivan
Top achievements
Rank 1
 answered on 13 Jun 2014
3 answers
1.1K+ views
I am using a kendoComboBox to load the organization list, and I am not able to change the filter to use "contains". It always search by default using "startsWith".  
The Kendo document shows it is very easy and straightforward to use the filter, and to add filter: "contains", should do the magic for me. But I've tried many times and it didn't work. Can you help me out?
The difference in my example is that I use cascadeFrom, and I turn on serverFiltering.


    var organizationDropDown = $("#organization").kendoComboBox({
        autoBind: false,
        dataSource: new kendo.data.DataSource({
            serverFiltering: true,
            transport: {
                read: {
                    url: ATSDashboardWebAPI + "api/GetOrganizations",
                    data: GetOrgType,
                    dataType: "json"
                }
            },
            requestEnd: function(e) {
                orgsLoaded = true;
            }
        }),
        dataTextField: "OrganizationName",
        dataValueField: "OrganizationId",
        value: SetDefaultOrganization(),
        //filter: { field: "OrganizationName", operator: "contains", value: this["#text"] },
        filter: "contains",
        cascadeFrom: "orgtype"
    }).data("kendoComboBox");
Daniel
Telerik team
 answered on 13 Jun 2014
1 answer
202 views
I am looking for functionality like the Multiselect below: US State Select -> type x = 'No Results found for x'

http://harvesthq.github.io/chosen/ 

I have built a work around providing data from the back end and on select if the id is 'noresults' I set the value of the click to forget about the selection. However I find it hard to believe that there is no option for this as it seems to be a common use case. Is there a better way to handle this than I described as my work around? I am using the MVC Helpers for the majority of this code.

Thanks in advance,

- Josh
Alexander Popov
Telerik team
 answered on 13 Jun 2014
1 answer
207 views
Our application is utilizing the editor's image browser. We found formatting bugs that are also reproducible at the following link.

http://demos.telerik.com/kendo-ui/editor/imagebrowser


Steps to reproduce:
1. Click image icon
2. Resize the modal window lager than the window content area
3. Resize the modal window lager than the window content area

I have also attached screen shots capturing the formatting issues.
The first image is the default view. The next 2 images show the formatting errors.

It would appear the simplest option is to set resizable: false for the modal window. The hyperlink window does not allow for resizing. So it would make sense this modal window would not be resizable either. The other option is to have the image browser content expand and contract with the window.

Dimo
Telerik team
 answered on 13 Jun 2014
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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
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
Licensing
PivotGridV2
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?