Completed
Last Updated: 23 Jun 2020 14:16 by ADMIN
Created by: Dave
Comments: 2
Category: Grid
Type: Feature Request
4

Hello, 

 

I think there is a bug with the DataTimeOffset field when used in a Grid. It cannot display correctly and is showing something like /Date(1364927400000)/. I have to retrieve my data from database as DateTimeOffset format and then use a new ViewModel to convert the DateTimeOffset values to DateTime values. This is really annoying.

 

Could you let me know if there is a way a DateTimeOffset field can be supported in the grid? Sometimes you do have to display the time zone info.

 

I hope this can be fixed in a future release.

 

Thanks,

Sam

Completed
Last Updated: 23 Jun 2020 13:41 by ADMIN
Release 2020.R1.SP1

Hi, with the latest version of kendo ui on existing hundred grids when I try to filter for a column I get an error like:

This kind of grid worked perfect on previous versions.

Uncaught TypeError: Cannot read property 'length' of undefined

    at init._eachRenderedMenuItem (kendo.all.js:52792)
    at init._setMenuItemsVisibility (kendo.all.js:52747)
    at init._updateMenuItems (kendo.all.js:52742)
    at init.open (kendo.all.js:52609)
    at init.trigger (kendo.all.js:164)
    at init._triggerEvent (kendo.all.js:51935)
    at kendo.all.js:51154
_eachRenderedMenuItem @ kendo.all.js:52792
_setMenuItemsVisibility @ kendo.all.js:52747
_updateMenuItems @ kendo.all.js:52742
open @ kendo.all.js:52609
trigger @ kendo.all.js:164
_triggerEvent @ kendo.all.js:51935
(anonymous) @ kendo.all.js:51154
setTimeout (async)
(anonymous) @ kendo.all.js:51143
each @ jquery-3.4.1.min.js:2
each @ jquery-3.4.1.min.js:2
open @ kendo.all.js:51140
_mouseenter @ kendo.all.js:51465
i @ jquery-3.4.1.min.js:2
handle @ jquery-3.4.1.min.js:2
dispatch @ jquery-3.4.1.min.js:2
v.handle @ jquery-3.4.1.min.js:2

 

 

@(Html.Kendo().Grid<Contract>()
                  .Name(GridId)
                  .DataSource(dataSource => dataSource
                      .Ajax() // Specify that ajax binding is used
                      .PageSize(80)
                      .Events(events => events.Error("common.gridErrorHandler").RequestStart("waitWindow.show").RequestEnd("waitWindow.hide"))
                      .Model(model => model.Id(al => al.ContractId))
                      .Read(read => read.Action("ContractsRead", "Contracts"))
                  )
                  .Events(events => events.Change("onRowClick").DataBound("common.onDataBound"))
                  .ToolBar(toolbar =>
                  {
                      toolbar.Template(@<text>
                          <div style="display: inline-block;">Select a service to manage Cost per Office</div>
                    </text>);
                        })
                              .Columns(columns =>
                              {
                                  columns.Bound(p => p.ContractId).Width(45).Title("Reference #").Hidden(true);
                                  columns.Bound(p => p.Name).Title("Service").Width(100);
                                  columns.Bound(p => p.ExpirationDate).Width(60).Format(RequestHelper.GetDateTimeFormat(Request));
                                  columns.Bound(p => p.BillingCycle.Name).Width(53);
                                  columns.Bound(p => p.Value).Title("Amount").Width(75).Format("$ {0:n5}").HeaderHtmlAttributes(new { style = "text-align: right;" }).HtmlAttributes(new { style = "text-align: right;font-weight: bold;" });
                              })
                              .NoRecords(PageResources.lblGridNoRecords)
                              .Filterable()
                              .Selectable(s => s.Mode(GridSelectionMode.Single))
                              .Scrollable(s => s.Virtual(true).Height("100%"))
                              .Sortable() // Enable sorting
                              .Resizable(resize => resize.Columns(false))
                              .ColumnMenu(p => p.Columns(false)))

 

 

Thank you,

Ion Petcu

Completed
Last Updated: 23 Jun 2020 13:14 by ADMIN
Release 2020.R3

The Workbook.FromDocument() method freezes the panes based on the coordinates of the TopLeftCellIndex of the pane instead of the XSplit and YSplit properties of the pane. Reproduced with the attached Excel file

var pane = documentWorksheet.ViewState.Pane;
if (pane != null && pane.State == PaneState.Frozen)
{
    sheet.FrozenRows = pane.TopLeftCellIndex.RowIndex;
    sheet.FrozenColumns = pane.TopLeftCellIndex.ColumnIndex;
}

Solution:

var pane = documentWorksheet.ViewState.Pane;
if (pane != null && pane.State == PaneState.Frozen)
{
    sheet.FrozenRows = pane.YSplit;
    sheet.FrozenColumns = pane.XSplit;
}

WORKAROUND: Loading the Excel file with DocumentProcessingLibrary API and change the pane

var fileName = <YourFilePathHere...>;
if (!File.Exists(fileName))
{
    throw new FileNotFoundException(String.Format("File {0} was not found!", fileName));
}

Telerik.Windows.Documents.Spreadsheet.Model.Workbook workbook;
IWorkbookFormatProvider formatProvider = new Telerik.Windows.Documents.Spreadsheet.FormatProviders.OpenXml.Xlsx.XlsxFormatProvider();

using (Stream input = new FileStream(fileName, FileMode.Open))
{
    workbook = formatProvider.Import(input);
    foreach (var sheet in workbook.Worksheets)
    {
        if (sheet.ViewState.Pane != null && sheet.ViewState.Pane.State == Telerik.Windows.Documents.Spreadsheet.Model.PaneState.Frozen)
        {

            var originalPane = sheet.ViewState.Pane;
            var pane = new Pane(new CellIndex(originalPane.YSplit, originalPane.XSplit), originalPane.XSplit, originalPane.YSplit, originalPane.ActivePane);
            sheet.ViewState.Pane = pane;
        }
    }
}
var sheets = Telerik.Web.Spreadsheet.Workbook.FromDocument(workbook).Sheets;

 

 

 

Completed
Last Updated: 19 Jun 2020 09:07 by ADMIN
Release 2020.R2.SP.next

Bug report

The responsive pager of the grid is shown when the width of the window is a few pixels above 1024 but less than 1035.

Reproduction of the problem

Dojo sample for reproduction:

https://dojo.telerik.com/oNejEYOz

1. Resize the browser to be around 1025 pixels. Just after showing the full pager, refresh the page.

2. The responsive pager is shown.

Expected/desired behavior

The full pager should be shown.

Environment

* **Kendo UI version:** 2020.1.114
* **jQuery version:** 1.12.4
* **Browser:** [all] 

 

 


Completed
Last Updated: 11 Jun 2020 12:56 by ADMIN
Release 2020.R2.SP.next
Created by: ahmed
Comments: 0
Category: Form
Type: Feature Request
1

I have a Switch widget within a form control

The switch is bound to form item (StdeuntAcepted) which is a mandatory bool value, SQL field setting is configured as a non-nullable bit

The field values shall be submitted as true or false.


Completed
Last Updated: 09 Jun 2020 06:40 by ADMIN
Release 2020.R2.SP.next

Bug report

Currently the MultiSelect allows a custom tag (one that does not correspond to items in its dataSource) to be displayed as selected. For this to work the MultiSelect must have autoBind disabled and the dataValueField option must be set. Once the widget is bound to data it behaves inconsistently, depending on whether there are other pre-selected items and what their index in the dataSource is.

Reproduction of the problem

Dojo example.

  1. Focus the MultiSelect

Current behavior

The widget is loaded with data, but the custom tag remains. This leads to the following unexpected behavior: after step 1. deselect "Product1". The item is deselected, the "custom" tag is removed from the input area but the "Product1" tag remains. The behavior is different, if initially "custom" and "Product2" are pre-selected.

Expected/desired behavior

Once the widget is bound any custom tags should be removed. The MultiSelect should display only tags for items that are in its dataSource. For a new item to be displayed as selected, it must be added to the dataSource.

Environment

  • Kendo UI version: 2020.2.513
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 05 Jun 2020 15:21 by ADMIN
Release 2020.R2.SP.next
Created by: Maverick
Comments: 2
Category: Date/Time Pickers
Type: Bug Report
0

Bug report
DateTimePicker "modern" look does not allow picking of hours in the MVC suite. In jQuery and Core AM/PM is not scrollable, nor selectable 

Reproduction of the problem
https://demos.telerik.com/aspnet-mvc/datetimepicker/component-type
Screencast: https://www.screencast.com/t/i4wi5Rq84PFF

Expected/desired behavior
PM setting must be present/scrollable/selectable

Environment
Kendo UI version: 2020.2.513*
Browser: [all]

Completed
Last Updated: 01 Jun 2020 12:26 by ADMIN
Release 2020.R2.SP.next

Bug report

This is a regression introduced in R2 2019.
Textboxes and charts currently are not supported in the Spreadsheet, however, if the loaded excel file contains such, saving the file should not throw a js exception.

Reproduction of the problem

  1. In Excel add a textbox and/or a chart to a workbook. Save the workbook. Alternatively, use the attached file:
    sample-new-chart-textbox.zip
  2. Load the .xlsx file in the Spreadsheet
  3. Save the file

Current behavior

On saving the file the following exception is thrown:
kendo.all.js:12938 Uncaught TypeError: Cannot read property 'target' of undefined

Expected/desired behavior

No js exceptions on saving the file.

Environment

  • Kendo UI version: 2020.1.406
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 27 May 2020 11:01 by ADMIN
Created by: Bo Yuan
Comments: 1
Category: Spreadsheet
Type: Bug Report
0

Bug report

Calling insertRow multiple times over many sheet data causes a slower performance since 2020.1.219.

Reproduction of the problem

http://dojo.telerik.com/EBEtaFOj (2020.1.114)

  1. Click the Add Rows button and wait for the alert.

Current behavior

http://dojo.telerik.com/UJAGUgAl

Completed
Last Updated: 26 May 2020 14:37 by ADMIN
Release 2020.R2.SP.next
Bug Report
Ticket: #1461445

Current behavior
Resizing a column in a group with resizeColumn() resizes always the last column in the group and not the respective one.


Minimal reproduction of the problem with instructions
Dojo: https://dojo.telerik.com/eWoFexan


Environment
kendo ui version 2018.3.1017 and above
Completed
Last Updated: 26 May 2020 09:21 by ADMIN
Release 2020.R2.SP.next

Bug report

An occurrence can be deleted from the "x" button in the event's top right corner, but when it is edited a "Delete" button is not displayed in the editor.

Reproduction of the problem

Reproducible in the demos and also with editRecurringMode: "occurrence" (dojo example).

Current behavior

Delete button is not displayed.

Expected/desired behavior

Delete button is displayed.

Environment

  • Kendo UI version: 2019.3.917
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 07 May 2020 11:07 by ADMIN
Release 2020.R2

Bug report

Regression introduced in R1 2020. Reproducible with the SASS themes, but the Kendo UI script version has effect on the behavior. For example, the behavior is not reproducible if the latest (2020.1.406) SASS theme is used along with an older (2019.2.1023) version of the kendo.all.min.js file.

Reproduction of the problem

Dojo example.

  1. The behavior is exhibited when an event ends at the same time another event starts, as it is demonstrated in the dojo where "Interview" ends and "Meeting" starts at the same time - 06:15.

Current behavior

"Meeting" is displayed below and to the right of "Interview", similarly to how events are displayed when their time spans overlap.

Expected/desired behavior

"Meeting" should be displayed below "Interview".

Environment

  • Kendo UI version: 2020.1.406
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 07 May 2020 08:22 by ADMIN
Release 2020.R2
Created by: Greg
Comments: 1
Category: FileManager
Type: Bug Report
0

In the file manager after we move a *directory* with the Tree view (NOT list view), we are getting a javascript error:

kendo.all.min.js:114 Uncaught TypeError: e.closest is not a function
    at init._restoreFocus (kendo.all.js:166158)
    at r.proxy (jquery-3.3.1.js:10268)
    at r.trigger (kendo.all.js:164)
    at r._closeAnimationEnd (kendo.all.js:60234)
    at Object.proxy [as completeCallback] (jquery-3.3.1.js:10268)
    at init.complete (kendo.all.js:10997)
    at Object.S.promise (kendo.all.js:11021)
    at HTMLDivElement.<anonymous> (kendo.all.js:1912)
    at Function.dequeue (jquery-3.3.1.js:4376)
    at HTMLDivElement.<anonymous> (jquery-3.3.1.js:4418)

 

This seems to be in kendo.all.js  and I believe it is being called after the modal closes

 

which I thinki s being called from this:

 _prompt: function (options) {
                var that = this, messages = this.options.messages.dialogs[options.type + 'Prompt'];
                var prompt = $('<div></div>').kendoPrompt(extend({}, {
                    title: messages.title,
                    content: messages.content,
                    messages: messages,
                    value: options.defaultInput
                }, this.options.dialogs[options.type + 'Prompt'])).data('kendoPrompt');
                prompt.bind(OPEN, proxy(that._cacheFocus, that));
                prompt.bind(CLOSE, proxy(that._restoreFocus, that, options.target));
                prompt.open();
                prompt.wrapper.removeClass('k-prompt');
                return prompt.result;
            },

 

 

 

I think it's trying to locate the target of the directory that was moved - which is no longer there - and set focus to it.

I was trying to bind to the CLOSE event of the move dialog and set it to null to avoid the _restoreFocus call?

Not sure if that's even a good approach to take.

What are your thoughts?  Thank you.

Completed
Last Updated: 17 Feb 2020 16:27 by ADMIN
Release 2020.R1.SP.next

Bug report

The ComboBox doesn't reset its default state when removing the selected items with Ctrl+A && pressing the Delete/Backspace button.

This bug is a regression from the 2018 R3 version.

Reproduction of the problem

  1. Open this Dojo project
  2. Select the ComboBox and enter "Hanari Carnes", then select the first element
  3. Clear the value of a field in one step (press Ctrl+A then Delete/Backspace button). The dropdown of the ComboBox will open.
  4. Select the first element in the list - "Vins et alcools Chevalier".
  5. The dropdown closes and no item is selected

Current behavior

When selecting the first element in the list, the Combobox closes without adding a value to the ComboBox input.

Expected/desired behavior

When the "Vins et alcools Chevalier" value is selected , the value should be added in the ComboBox input and the dropdown should close.
Here is a Dojo demonstrating the correct behavior.

Environment

  • Kendo UI version: 2019.3.1023
  • jQuery version: x.y
  • Browser: [all]
Completed
Last Updated: 17 Feb 2020 13:31 by ADMIN
When using the standard Edit command in a column, it is possible to customize the standard text for the edit button (command.Edit().Text("Doit")). 
But it is not possible to customize the Cancel- or Update-Text (as it is in the grid: command.Edit().CancelText("Nope").UpdateText("Yep")) or to leave the text blank. 
Completed
Last Updated: 12 Feb 2020 11:52 by ADMIN

Hello,

 

I noticed that the date format from my current kendo culture (fr-FR) is not applied properly for Weeks and Days units on xAxis labels of a chart with date axis.

 

I had to set the property DateFormats for Weeks and Days of my XAxis Labels to force the format (other units work fine) :

@(Html.Kendo.Chart(Of Models.DataViewModel).
        Name("chart").
        Title(typeMesure.GetDescription()).
        DataSource(Sub(dataSource)
                       dataSource.Read(Sub(read)
                                           read.Type(HttpVerbs.Get).Action("GetData","Data"))
                                       End Sub).
                                       Sort(Sub(sort) sort.Add(Function(m) m.Dt).Ascending())
                   End Sub).
                            Series(Sub(series) series.
                                        ScatterLine(Function(m) m.Dt, Function(m) m.Value).
                                        Markers(False).
                                        MissingValues(ChartScatterLineMissingValues.Gap).
                                        Color("#cb1d39").
                                        Tooltip(Sub(tooltip)
                                                    tooltip.Visible(True).
                                                    Template("Date : #= kendo.toString(value.x, 'dd/MM/yyyy HH:mm') # <br/>Valeur : #= kendo.toString(value.y, 'n3') #")
                                                End Sub)).
                            XAxis(Sub(xAxis) xAxis.Date().
                                        Min(Model.DateDebut).
                                        Max(Model.DateFin).
                                        Labels(Sub(labels) labels.DateFormats(Sub(dateFormats) dateFormats.Weeks("dd/MM").Days("dd/MM")))).
                            Panes(Sub(panes) panes.Add().Clip(False)).
                            Pannable(True).
                            Zoomable(Sub(zoomable)
                                         zoomable.Mousewheel(Sub(mousewheel) mousewheel.Lock(ChartAxisLock.Y)).
                                         Selection(Sub(selection) selection.Lock(ChartAxisLock.Y))
                                     End Sub))

 

Could you please fix this issue in a future version ?

Thanks and regards.

Completed
Last Updated: 06 Feb 2020 12:51 by ADMIN
Release 2020.R1.SP.next

Bug report

Regression introduced in R1 2020. Related to #4741

Reproduction of the problem

Dojo example.

  1. Click on Item1 or on SubItem2

Current behavior

The page does not navigate to the url set in the item's data.

Expected/desired behavior

The page navigates to the url set in the item's data.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all ]
Completed
Last Updated: 23 Jan 2020 08:05 by ADMIN
Created by: Derek
Comments: 1
Category: Chart
Type: Feature Request
1
1. Add method CategoricalErrorBarsBuilder.Field(string) that will indicate the name of the field containing the value for the error bar.  This value would be a relative difference (not absolute high/low).  There is a "Fields(string,string)" method but "Field(string)" for difference value is missing.

2. Provide way to render half (top or bottom) of error bar.  For example, if only CategoricalErrorBarsBuilder.HighField(string) is assigned, then render top half of error bar.  Or maybe some other setting.  Often it is desirable to show only the side of the error bar that is above (or below, if the bar represents a negative value) the bar marker so that the other half is not rendered within the bar marker.
Completed
Last Updated: 22 Jan 2020 12:13 by ADMIN
Although the Tree view is very powerful on displaying the tree structure, modifying it is very frustrating. We almost go for a separate module for maintaining the info. SOme examples here may be very helpful, especially for Kendo novices. 
Completed
Last Updated: 21 Jan 2020 12:49 by ADMIN

Bug report

Regression introduced in v2019.2.619.

Reproduction of the problem

Dojo example.

  1. Copy some text in the clipboard.
  2. Right-click the content area of the Editor.

Current behavior

The "Paste" option is missing from the contextmenu. The only way to make it appear is to right-click the top left corner of the Editor's content area.

Expected/desired behavior

The "Paste" option is present in the contextmenu, regardless of where exactly in the Editor's content area the right-click is performed.

Environment

  • Kendo UI version: 2020.1.114
  • jQuery version: x.y
  • Browser: [all]
1 2 3 4