Telerik Forums
Kendo UI for jQuery Forum
2 answers
407 views
Hy,

I'm using the MultiSelect Widget. Standard Functionality is that if the user presses [Backspace] the previous selected item will be removed. In my case I don't want this behavior - if user presses [backspace] nothing should be done except removing single chars if there are any one.

I tried a jquery function on the keydown event to avoid the standard behavior of deleting the previous added item but this is firing after the item is deleted! So it is too late!

Is there any chance to disable the behavior of deleting the previous added item?

Greetings from Austria
Florian
Flo
Top achievements
Rank 1
 answered on 01 Jul 2014
1 answer
212 views
This code works for making a slider


<script>
 $(document).ready(function () {
var
sliderTimePush = jQuery("#sliderTimePush").kendoSlider({
                increaseButtonTitle: "Right",
                decreaseButtonTitle: "Left",
                showButtons: true,
                min: 1,
                max: 7,
                largeStep: 1,
 
                tooltip: {
                    enabled: false
                },
                orientation: "horizontal"
            });
 });
</script>

  <input id="sliderTimePush" class="balSlider" value="0" />
I try to do the same thing but for a range slider:


<script>
 $(document).ready(function () {
var sliderTimePush = jQuery("#sliderTimePush").kendoRangeSlider({
                increaseButtonTitle: "Right",
                decreaseButtonTitle: "Left",
                showButtons: true,
                min: 1,
                max: 7,
                largeStep: 1,
  
                tooltip: {
                    enabled: false
                },
                orientation: "horizontal"
            });
 });
</script>
 
  <input id="sliderTimePush" class="balSlider" value="0" />

It doesn't works event with trivial way
var sliderTimePush = jQuery("#sliderTimePush").kendoRangeSlider()({
    min: 0,
    max: 10,
    smallStep: 1,
    largeStep: 2,
    tickPlacement: "both"
});

Do you have idea how to do that? 
Alexander Valchev
Telerik team
 answered on 01 Jul 2014
2 answers
1.0K+ views
How to remove all default CSS styles coming with auto complete for the input field? I prefer to use my own.
Iliana Dyankova
Telerik team
 answered on 01 Jul 2014
5 answers
114 views
I've found what seems to be a bug when combining a rowTemplate , columnMenu: true and sortable: true.

In the demo below, hide the Country column and then sort by the ID column. After the sort, some of the cells are not staying hidden! Am I doing something wrong?

http://trykendoui.telerik.com/@esorenson/UsOp

I'd appreciate any help!
Nikolay Rusev
Telerik team
 answered on 01 Jul 2014
1 answer
583 views
Hi

I have a grid set with editable mode "incell". I have a create button at the top of the grid in the toolbar. When I create a new record, I'd like to initialize the values (i.e. provide defaults) of the new record.

I have tried setting the values of the model in the edit event using:
edit: function(e) {
    if (e.model.isNew()) {
        e.model.QuantityAvailable = 1;
    }
}


Although this presets the value when I activate the field editors by tabbing to these fields, it does not display the value until the cell editor is displayed. This is confusing for the user.

I've also tried setting the text value of the new row's <td> attribute using:
edit: function(e) {
    if (e.model.isNew()) {
        e.model.QuantityAvailable = 1;
        var row = e.container.parent();
        row.find("td:nth-child(2)").text(e.model.QuantityAvailable);
    }
}

This sets the value as desired but for some reason renders the cell un-editable!

How can I provide defaults for the new record the user is creating?

Thanks
Nikolay Rusev
Telerik team
 answered on 01 Jul 2014
4 answers
242 views
Hi,

How can we display hourly recurrence? Lets say we have a event which executes in every 4 hours. How can we achieve this?
Vladimir Iliev
Telerik team
 answered on 01 Jul 2014
1 answer
289 views
Hello all,

I tried to change the color of the shapes by code, but I tried 10 different things and non of them are working.
The diagramm has a visualTemplate! Without this template it works.

The color is "blue" for all shapes, and is not changing!!

Here are the code snippet! Everything is experimental so do not comment the code ^^

 var diagram = $("#diagram").kendoDiagram().data("kendoDiagram");

  

    var visualTemplate = function(options) {
        var dataviz = kendo.dataviz,
        dataItem = options.dataItem;

        var g = new dataviz.diagram.Group({
            autoSize: true
        });

        g.append(new dataviz.diagram.Rectangle({
            width: SHAPE_WIDTH,
            height: SHAPE_HEIGHT,
            background: "blue"
        }));

        g.append(new dataviz.diagram.TextBlock({
            text: dataItem.title,
            x: 40,
            y: 110,
            color: "#fff",
            fontSize: 52
        }));
        return g;
    };

    var data = [{
        title: "Folienabsauger",
        colorScheme: "#1696d3"
}];

        var thediagramm = $("#diagram").kendoDiagram({
            dataSource: new kendo.data.HierarchicalDataSource({
                data: data
            }),
            shapeDefaults: {
                visual: visualTemplate
            }
        });

        var diagram = $("#diagram").data("kendoDiagram");
      

        var dataItem = diagram.dataSource.insert(0, {
            title: "TEST!" + i,
            colorScheme: "#FF0000"
        });

      
        var curRow = 0;
        var curCol = 0;

        var diagram2 = $("#diagram").getKendoDiagram();

        for (var i = 0; i < diagram.shapes.length; i++) {
            curRow = Math.floor(i / ROWS);
            curCol = i % COL;
            prevShape = diagram.shapes[i - 1];
            shape = diagram.shapes[i];
            shape.position({ x: X_OFFSET + SHAPE_WIDTH * curCol + X_Seperator * curCol, y: Y_OFFSET + SHAPE_HEIGHT * curRow + Y_Seperator * curRow });
            var options = {
                background: "#00FF00",
                stroke: {
                    color: "#00FF00",
                    width: 12
                },
                visual: []
            }
            shape.options.dataItem.colorScheme = "red";
            shape.redraw(options);
            diagram2.shapes[0].options.visual = [];
        }
Alex
Top achievements
Rank 1
 answered on 30 Jun 2014
2 answers
89 views
Hello,

We have ASP.NET AJAX Intranet web application running on production. We would like to use Kendo UI for new development. Is it possible to use Kendo UI with existing application? Please let me know if there are any tutorials or links to move forward.

thank you.
Michael
Top achievements
Rank 1
 answered on 30 Jun 2014
3 answers
504 views
Hi, I think I found a small problem with the validator and the date picker and thought I'd give you the heads up.
It seems like when you add a required (although I think any rule would be the same) attribute to a datepicker, the validation message overlaps with the calendar icon of the datepicker.

Cheers,
Andrés
Alexander Popov
Telerik team
 answered on 30 Jun 2014
1 answer
82 views
Hi
Im using your datepicker
But it is American date = mmddyy
I need ddmmyy 
Kiril Nikolov
Telerik team
 answered on 30 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
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?