Telerik Forums
Kendo UI for jQuery Forum
3 answers
305 views
Hi

I'm trying to create a slider with min value = 0%, max value = 0.1% and increment 0.01%, i.e. min=0,max=0.001, step = 0.0001, however, it seems that the smallest step the slider works with is 0.001, is this some weird limitation of the slider or am I doing something wrong?

I have recreated it here:
http://dojo.telerik.com/etuvI


Hristo Germanov
Telerik team
 answered on 29 Sep 2014
12 answers
2.1K+ views
Hi all,
Problem reproduced at http://jsfiddle.net/nA95j/7/

It seems that specifying decimals="0" option in the HTML initialization of numeric text box does not work. The same option when given as a constructor option does work.

It is mentioned in the Release Notes for Kendo UI version 2012.1.322 that this is fixed (http://www.kendoui.com/web/whats-new/release-notes/q1-2012-version-2012-1-322.aspx) but I see it is happening in case of HTML based initialization for a numeric text box.

I am using MVVM binding so I cannot declare the numeric text box and its arguments separately. Any suggestions or workarounds?

Thanks.
Dimo
Telerik team
 answered on 29 Sep 2014
3 answers
255 views
Hello,

is it possible to initialize a context menu before its target is existing in the DOM? I want to have the context menu on a grid which is initialized sometime later. Here is a simple example which will show you what I tried to do:
$("#context-menu").kendoContextMenu({
        target: "#target"
  });
   
$('body').append('<div id="target">Target</div>');

I know that it would work if I append the div before I initialize the context menu but I would like to define it for every element with the same ID no matter when it will appear in the DOM. Is there any possibility to do this?

Thank you
Dimo
Telerik team
 answered on 29 Sep 2014
3 answers
275 views
Judging from this demo:

http://demos.telerik.com/kendo-ui/multiselect/angular

it seems I would not be able to bind to an array of objects of this type:

   { id: 100,  title: 'foo', expiryDate: [a date or null goes here]}


and apply some conditional formatting to the dropdown list (e.g. <del>strikethrough</del>)  based on finding a value in expiryDate.

Is that correct? There can be no conditional formatting with the multiselect based on a property other than display value or bound value?
Alexander Popov
Telerik team
 answered on 29 Sep 2014
1 answer
309 views
My grid is configured to be selectable: multiple and mobile: false.

When viewing my grid on a mobile device that has touch input, and I scroll the grid by touch & drag in the cells, I am seeing multiple cells selected.  How can I configure the grid to allow scrolling with the touch events and not select multiple rows at the same time.  Also, I expected the grid to slowly decelerate after I lifted my finger, but that was not the case - it just stopped scrolling as soon as I lifted my finger.

Thanks,
--Ed
Kiril Nikolov
Telerik team
 answered on 29 Sep 2014
8 answers
147 views
Hello,

Attached screenshot of scheduler on WindowsPhone 8.1 IE browser.
First problem which is for all phone (iPhone,Android and WP) is Arbeitswoche is overlapping woche in view, my culture is de-DE.
Other problem which is specific to WP 8.1 is in day,week,month all views the left and right arrow do not show. It is there if i tap on left it does take me to previous day week etc or next day week but just the arrow imaes are missing.

Any idea what is problem

Thanks

Anamika
Kiril Nikolov
Telerik team
 answered on 29 Sep 2014
3 answers
271 views
I am trying to use the Kendo UI map with Bing tiles and also apply a layer of geojson (the countries sample provided). However, when I do this the polygons are not aligned on the map. How can I fix this? 
function createMap() {
    $("#map").kendoMap({
        center: [30.2681, -97.7448],
        zoom: 3,
        layers: [
            {
                type: "bing",
                key: "mybingkey"
            },
            {
                type: "shape",
                dataSource: {
                    type: "geojson",
                    transport: {
                        read: {
                            dataType: "jsonp",
                            url: "../geojson/countries-users.geo.js",
                            jsonpCallback: "loadCountries"
                        }
                    }
                },
                style: {
                    fill: {
                        opacity: 0.7
                    }
                }
            }
        ],
        shapeCreated: onShapeCreated,
        shapeMouseEnter: onShapeMouseEnter,
        shapeMouseLeave: onShapeMouseLeave
    });
}
T. Tsonev
Telerik team
 answered on 29 Sep 2014
1 answer
607 views
In a asp.net mvc project I often need to fill in dropdown lists with countries to select from.
I usually setup a datasource and bind it to the dropdown list widget.
Sometimes I need to insert a "Any country" value at the top of the list.

var countryDs = new kendo.data.DataSource({
    transport: {
        read: {
            type: "POST",
            url: '@Url.Action("GetCustomerCountries", "System")',
            data: function () {
                return {
                    customerId: parseInt("@Model.CustomerId", 10)
                }
            },
            dataType: "json",
            contentType: 'application/json; charset=utf-8'
        },
        parameterMap: function (data, type) {
            return kendo.stringify(data);
        }
    },
    schema: {
        model: {
            fields: {
                CustomerId: { type: "number" },
                CountryId: { type: "number" },
                CountryName: { type: "string" },
                CountryAbbrev: { type: "string" }
            }
        }
    }
});

$("#grid-filter-country").kendoDropDownList({
    dataTextField: "CountryName",
    dataValueField: "CountryId",
    dataSource: countryDs,
    value: GetCountry()
});

This works fine, however when I try to insert the "any country" item (right after the data source definition) I get an error:

countryDs.insert(0, { "CustomerId": 1, "CountryId": 0, "CountryName": "Any country", "CountryAbbrev": "Any" });
countryDs.sync();

The error: "TypeError: r is undefined".

Can anyone point out what I am missing (I'm open for better/other solutions).
Nikolay Rusev
Telerik team
 answered on 29 Sep 2014
1 answer
654 views
Since the full Kendo package is so large, we are only using a small portion of it on a new website that must remain lean. We are using Bootstrap 3 and Kendo 2014.2.716.

I downloaded the full Kendo ZIP file, so I could look through the CSS files and only use the ones we needed to get basic Kendo styling and the Kendo Bootstrap theme.

But when looking through the CSS files, there are multiple ones that appear necessary (see below). Which of these are actually necessary for a bare minimum approach to CSS for Kendo and Bootstrap 3? And what is the difference between the "core" and the non-core files (e.g. between kendo.common-bootstrap.core.min.css and kendo.common.bootstrap.min.css)?

  • kendo.bootstrap.min.css
  • kendo.common.core.min.css
  • kendo.common.min.css
  • kendo.common-bootstrap.core.min.css
  • kendo.common-bootstrap.min.css
  • kendo.default.min.css
Dimo
Telerik team
 answered on 29 Sep 2014
3 answers
114 views
Is there a possibility to pass a position for fresh records? I currently add empty records to the top of the grid, but when I save them they end up in the last position. Is there a way that they stay at the top so I can just drop in more from the top?
Kiril Nikolov
Telerik team
 answered on 29 Sep 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
Application
Drag and Drop
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
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?