Telerik Forums
Kendo UI for jQuery Forum
1 answer
835 views

Hi i am evaluating the grid for a development.
One of the requirements i have is to have a multi row selection and inline edit. (will be going into cell inline mode on double click)
I found this great article of yours
https://github.com/telerik/kendo-ui-core/blob/master/docs/knowledge-base/grid-edit-cell-on-double-click.md
where it looked it was exactly what i was looking for but it looks like that when there is a numeric editor it doesnt work. I double click the cell, the editor appears and immediately hides, i have updated one of your grid examples (the editing-custom.html) and attached it.
Would be great to have some feedback on it, to have a proper evaluation as this is a must have.
As i cant attach neither hmtl nor txt files (being blocked by the page)

################################################################################

Here is the code:

<!DOCTYPE html>
<html>
<head>
    <title>Editing custom editor</title>
    <meta charset="utf-8">
    <link href="../content/shared/styles/examples-offline.css" rel="stylesheet">
    <link href="../../styles/kendo.common.min.css" rel="stylesheet">
    <link href="../../styles/kendo.rtl.min.css" rel="stylesheet">
    <link href="../../styles/kendo.default.min.css" rel="stylesheet">
    <link href="../../styles/kendo.default.mobile.min.css" rel="stylesheet">
    <script src="../../js/jquery.min.js"></script>
    <script src="../../js/jszip.min.js"></script>
    <script src="../../js/kendo.all.min.js"></script>
    <script src="../content/shared/js/console.js"></script>
    <script>
        
    </script>
    
    
</head>
<body>
    
        <a class="offline-button" href="../index.html">Back</a>
    
            <script src="../content/shared/js/products.js"></script>
        <div id="example">
            <div id="grid"></div>

            <script>

                $(document).ready(function () {
                    var dataSource = new kendo.data.DataSource({
                       pageSize: 20,
                       data: products,
                       autoSync: true,
                       schema: {
                           model: {
                             id: "ProductID",
                             fields: {
                                ProductID: { editable: false, nullable: true },
                                ProductName: { validation: { required: true } },
                                Category: { defaultValue: { CategoryID: 1, CategoryName: "Beverages"} },
                                UnitPrice: { type: "number", validation: { required: true, min: 1} }
                             }
                           }
                       }
                    });

                    $("#grid").kendoGrid({
                        dataSource: dataSource,
                        pageable: true,
                        height: 550,
                        toolbar: ["create"],
                        columns: [
                            { field:"ProductName",title:"Product Name" },
                            { field: "Category", title: "Category", width: "180px", editor: categoryDropDownEditor, template: "#=Category.CategoryName#" },
                            { field: "UnitPrice", title:"Unit Price", format: "{0:c}", width: "130px" },
                            { command: "destroy", title: " ", width: "150px" }],
                        // editable: false,
                        selectable: "multiple"
                    });

                    $("#grid tbody").on("dblclick", "td", function(e) {
                    
                        var cellElement = this;
                        var cell = $(cellElement);
                        var grid = $("#grid").getKendoGrid();
                        grid.editCell(cell);
                    });

                    $("#grid tbody").on("blur", "td", function(e) {
                        var cellElement = this;
                        var cell = $(cellElement);
                        var grid = $("#grid").getKendoGrid();
                                grid.closeCell(cell);
                    });
                });

                function categoryDropDownEditor(container, options) {
                    $('<input required name="' + options.field + '"/>')
                        .appendTo(container)
                        .kendoDropDownList({
                            autoBind: false,
                            dataTextField: "CategoryName",
                            dataValueField: "CategoryID",
                            dataSource: {
                                type: "odata",
                                transport: {
                                    read: "https://demos.telerik.com/kendo-ui/service/Northwind.svc/Categories"
                                }
                            }
                        });
                }

                

            </script>
        </div>


    
</body>
</html>








Viktor Tachev
Telerik team
 answered on 13 Nov 2019
1 answer
174 views

Hi i am evaluating the grid for a development.

One of the requirements i have is to have a multi row selection and inline edit. (will be going into cell inline mode on double click)

I found this great article of yours

https://github.com/telerik/kendo-ui-core/blob/master/docs/knowledge-base/grid-edit-cell-on-double-click.md

where it looked it was exactly what i was looking for but it looks like that when there is a numeric editor it doesnt work. I double click the cell, the editor appears and immediately hides, i have updated one of your grid examples (the editing-custom.html) and attached it.

Would be great to have some feedback on it, to have a proper evaluation as this is a must have.

 

Kind regards,

 

 

 

 

Viktor Tachev
Telerik team
 answered on 13 Nov 2019
1 answer
146 views
I would like to persist the order of cards moved around by the user for the next time they open the page or window.  Is it possible to do this by somehow setting the index of these DIV tag cards inside their sortable container?
Georgi
Telerik team
 answered on 13 Nov 2019
2 answers
295 views

Hi, 

I would like to add a new  field in the popup.

For example, there is the fields Title, Start, End, Complete, I'm trying to add a new field Project Number.

Can you suggest me some documentation about it?

Mario
Top achievements
Rank 2
 answered on 12 Nov 2019
6 answers
469 views
Can i export my diagram and all the data inside him to a formatted json model ?
victor
Top achievements
Rank 1
 answered on 08 Nov 2019
1 answer
346 views

Currently I have a bubble chart that I am using tooltips to display some more information about the bubble.  I need the tool tip to stay visible while a user clicks a button to export the chart as an image.  I have set the autoHide attribute to false, but it does not seem to have any effect. My tooltip does not get a close button. My chart configuration looks like this: 

series: [{
                    type: "bubble",
                    xField: "CurrentLossEstUSD",
                    yField: "CurrentScore",
                    sizeField: "MFL_TOTAL",
                    color: "#dadfe1",
                    tooltip: {
                        visible: true,
                        format: "{3}: MFL - {2:N0}",
                        autoHide: false
                    },

}]

 

Thanks.

Tsvetomir
Telerik team
 answered on 08 Nov 2019
5 answers
300 views
Hello,

I was just wondering if there is a way to make the map always show the same extent, regardless
of the size of the <div> element containing it?

Something like an auto zoom function so the map always shows the same area?

Best regards 
Viktor Tachev
Telerik team
 answered on 08 Nov 2019
1 answer
371 views

In searching this forum I came across this post from 2013.... https://www.telerik.com/forums/get-scheduler-timeslot-on-kendodroptarget

It mentions that this may be implemented in a future release. I've not found any information that indicates this is possible. I'm looking at placing a series of div objects that represent different types of events (work, lunch, meeting, day-off etc) along side a Scheduler. A user will drag and drop a div onto a scheduler and that will create a scheduler event in the slot it was dropped onto. Is this possible?

Thanks

Martin
Telerik team
 answered on 08 Nov 2019
4 answers
1.0K+ views

Hi, All my filter icon (k.filter) in all my gris is gone. 

No square or wrong symbol, just nothing. The button is there, if I blind clic on the filter, the filter menu open. I am using the Balck theme.

Here my CSS bundle

bundles.Add(new StyleBundle("~/Content/kendo")
                .Include("~/Content/kendo/kendo.common.min.css",
                         "~/Content/kendo/kendo.black.min.css",
                         "~/Content/kendo/kendo.dataviz.black.min.css"));

Here my js bundle

Bundle kendoBundle = new ScriptBundle("~/bundles/kendo")
                .Include("~/Scripts/kendo/kendo.all.min.js")
                .Include("~/Scripts/kendo/kendo.aspnetmvc.min.js")
                .Include("~/Scripts/kendo/cultures/kendo.culture.fr-CA.min.js")
                .Include("~/Scripts/kendo/messages/kendo.messages.fr-CA.min.js")
                .Include("~/Scripts/kendo/kendo.dataviz.chart.min.js");

In the Content\kendo CSS folder, I go an BLACK, FONT, TEXTUTES ans the kendo css file. All updated to the 2019.2.619 version.

Any idea? All the rest is working

 

Ivan Danchev
Telerik team
 answered on 07 Nov 2019
10 answers
541 views

My scheduler is having a problem when a user creates a recurring event that crosses a time change (day light savings).  If i create a recurring event for Oct 29 at 12PM and have it recur for 10 days it is correctly displayed at 12PM until Nov 3rd (after the time change) it starts showing at 11AM.

 

The database record looks like 

https://imgur.com/3zI3u2j

The timezone is set to:.Timezone( "America/New_York")

The other thing I notice is when i go in to edit an event in the Scheduler it shows in UTC time in the editor instead of in America/New_York.  Most of my events are not edited through the Scheduler UI, so this has not become a problem.

 

 
 
Ivan Danchev
Telerik team
 answered on 07 Nov 2019
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?