Telerik Forums
Kendo UI for jQuery Forum
1 answer
106 views
Hello, how do I get all the data from the scheduler when I want to save it in the database?
Martin
Telerik team
 answered on 11 Jan 2023
1 answer
272 views

Hi I am using PivotGrid V2 and binding to local data ( json array ), the data contain a field called CompletedDate ( format 16/4/2022 18:00), what I would like to do is create a pivot grid that contain the month name columns as below, is this possible

Year: 2022
JanFebMarchAprilMayJune JulyAugSepOctDec
StatusReviewed141933452652233134
Awating Review3661111111123

4101134562762334151

 

Thanks

Neli
Telerik team
 answered on 11 Jan 2023
0 answers
151 views

I am resetting the grid's state like this:


        const $grid = $gridRoot.find('.xifacts-simple-grid');
        const grid = $grid.data('kendoGrid');
        grid.dataSource.filter({});
        grid.dataSource.sort({});
        grid.dataSource.pageSize(5);
        grid.clearSelection();
        grid.dataSource.page(1);

All is good, the grid state is correctly reset (it goes to page 1) - but it still shows the old page that was selected.

Same for the Items/Page.

 

Here is a gif for the issue:

iFACTS Admin
Top achievements
Rank 1
 asked on 10 Jan 2023
1 answer
800 views

Hello ! i am using a telerik grid in order to display my data, when i go to edit the rows i want it to update my database however all the demos i have seen are using URLs as part of the CRUD function, i use a sql database so urls will not work. Is there an alternative method? 

 

Kind regards

Aleksandar
Telerik team
 answered on 09 Jan 2023
0 answers
124 views

Hi I cannot find a 'Count'  aggregate in the new  Pivot grid , the previous version did have it ?

Also will there be support to provide a 'Percentage' measure

 

Thanks

Kulwant
Top achievements
Rank 1
Iron
 asked on 06 Jan 2023
1 answer
251 views

Hi there,

We face a few filter-related issues when exploring Pivot grid V2 and using the default configuration options.

1. When Kendo pivotGridconfiguratorV2 is not displayed we miss the opportunity to apply filters (that works in the legacy Pivot grid). Can you suggest a workaround or a config option?

2. When a filter is programmatically applied and the configurator is displayed, in the respective field dropdown this is still not reflected (prefilled), so the user wouldn't know a filter is already acting. That also works in the legacy Pivot.

 

3. For certain field types (e.g. number) the option to apply field filter is not provided at all, even when we have one programmatically applied already, only 'Include fields...'

 

Please, provide guidance on the issues above.

Thank you,
Georgi

 

Angel Petrov
Telerik team
 answered on 06 Jan 2023
1 answer
166 views

Hello,

Do you know a solution to prevent labels from ending up outside the chartarea?

For example a possibility to automatically resize the plotarea? ( i would like to keep 'position: "outsideEnd"')

 

Here : https://dojo.telerik.com/ObitALOK

 

Thank you

 

Neli
Telerik team
 answered on 05 Jan 2023
1 answer
115 views

Hello,

I have date control outside gannt chart. According to date change it should change day / Week view in Gannt chart.

It is working fine for futhure dates.

I have requirement  for Past dates also it should change day / Week accordingly.

Please can you help.

 

Neli
Telerik team
 answered on 04 Jan 2023
0 answers
217 views

Update

This should be a UI for ASP.NET Core question, so I Reposted it here

Scenario:

I am trying to enable and disable CheckBoxGroup items,

and it dependes on whether if the categories of the item has values.

For example, If there are two categorie, which are animals and fruits.

If I recieved no datas of fruits, I'll disabled the CheckBoxGroup item "fruits".

What I've tried so far

I search through documents and found this tutorial of the BindTo() method,

However, I got an error message saying "Cannot convert from System.Collections.Generic.List<MyCheckBoxItemModel> to string []

Questions

1. According to the method, how can I convert List<model> to string[] in my .cshtml ?

2. (Extension Question) In the tutorial, I'm awared that in the "InputGroupItemModel" there was a "Enabled" attribute.

Is it mean that if passed it to the front end and attached it with the BindTo() method, the CheckBoxGroup will automatically enable or disable the checkbox item?

(I'll show my code below)

Code

CheckBoxItemDto.cs

 public class CheckBoxItemDto
    {
        //public IDictionary<string, object> HtmlAttributes { get; set; }

        //public string CssClass { get; set; }

        public bool? Enabled { get; set; }

        //public bool? Encoded { get; set; }

        public string Label { get; set; }

        public string Value { get; set; }
    }

CheckBoxItemViewModel.cs

public class CheckBoxItemViewModel
    {
        public List<CheckBoxItemDto> Items { get; set; }

        public string[] CheckBoxGroupValue { get; set; }
    }

MyViewModel.cs

public class EqInstsDataViewModel
    {
        public IEnumerable<MyOtherViewModel> MyOtherViewModel { get; set; }
        public CheckBoxItemViewModel CheckBoxItemViewModel { get; set; }
    }

Controller

 

public IActionResult GetChartPartialView() { try { List<CheckBoxItemDto> checkBoxItemDto = GetCheckBoxItem(); //Get CheckBox Items

CheckBoxItemViewModel checkBoxItem = new CheckBoxItemViewModel() { Items = checkBoxItemDto }; MyViewModel myViewModel = new MyViewModel() { Items = checkBoxItem } return PartialView("~/Views/Shared/_MyPartialView.cshtml", myViewModel); } catch (Exception ex) { return Json(ex.Message); } }


public List<CheckBoxItem> GetCheckBoxItem()
        {            
            try
            {
                #region CheckBoxItems

                var itemsList = new List<CheckBoxItemDto>()
                {
                    new CheckBoxItemDto()
                    {
                        Label = "Animals",
                        Value = "1",
                        Enabled = true
                    },
                     new CheckBoxItemDto()
                    {
                        Label = "Friuts",
                        Value = "2",
                        Enabled = false
                    } ,
                };

                #endregion

                return itemList;
            }
            catch(Exception)
            {
                throw;
            }
        }

 

_MyPartialView.cshtml

@(Html.Kendo().CheckBoxGroup()     
        .Name("MyCheckBox")
        .BindTo(Model.CheckBoxItemViewModel.Items)  //Cannot convert from List<CheckBoxItemDto> to string[]
        .Value(Model.CheckBoxItemViewModel.CheckBoxGroupValue)
        .Layout("horizontal")
     )

CHIHPEI
Top achievements
Rank 2
Iron
Iron
Iron
 updated question on 04 Jan 2023
1 answer
118 views
I am new to Kendo and I don't know if kendo just doesn't allow for it yet or not but I have tried using HtmlHelpers, TagHelpers and JQuery but I can't get any of them to function as I would expect. If anybody has an example of how to submit data using Razor Pages and JQuery spreadsheet, I would appreciate it. There isn't much reference material on it or at least, not that I can find. I want to bind a list of a class to the spreadsheet and whatever they submit will be added to a database
Neli
Telerik team
 answered on 03 Jan 2023
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawer (Mobile)
Drawing API
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?