Telerik Forums
Kendo UI for jQuery Forum
1 answer
598 views
I have a requirement to align the selected chips to the right of a kendo multi select's k-input-values block. The issue I have is that there is a hidden input field in the last position. I attempted to remedy this by adding flex-direction: row-reverse to the k-chip-list class, however that makes all the selected items appear in reverse order which the client doesn't like. Is there a way to right align the chips without changing their order?
Martin
Telerik team
 answered on 14 Mar 2023
2 answers
747 views

Hi,

I am trying to make custom visual template with specific background coloring for my ListBox. But from what I can see and reproduce, template doesn't actually apply to the item, but to child element within. 

Custom template allows me to set "in item" layout of elements and some of their properties, but even if i manage to apply background color, it doesn't work properly. 

I tried even with hardcoding style into template directly instead of using class, and nothing works.

Is this the bug or basically "item" template is not really item template but only item text template (I didn't see this written anywhere)?

Please find dojo showing behavior here: https://dojo.telerik.com/udeNIxul/3

EDIT: Template works as expected on the ListView here: https://dojo.telerik.com/uleKARuN

Thanks and regards,

Vedad

Erik
Top achievements
Rank 1
Iron
Iron
Iron
 answered on 13 Mar 2023
5 answers
506 views
We are keen on making use of Kendo's grid (using ASP.NET MVC Kendo Web controls)
 but need to know how multiple selection of rows can be achieved (if possible) when the grid is bound to a remote data source (web service) and paging is in place.

Below is the functionality we require:
  1. Retrieve large result sets (via the web service) ranging from 1 to 6000+
  2. Filter the retrieved result set
  3. Sort on certain columns
  4. After sorting users must be able to multiple select certain rows, and...
  5. The selection state of each row must be bound to a checkbox in the 1st column
  6. Row selection (check boxes) must persist across pages (paging - checkboxes remain checked during paging operations - forward and backward) 
  7. Users must also be able to select all records e.g. an "all" checkbox in the grids header

We have been able to comply to all our requirements other than to points  5, 6 and 7 but they are all related.
 
Do we have to maintain the selected state ourselves (i.e. build a list of some sort and then update the grid) or is the grid capable of doing it by itself even when remotely bound? What is the best way to approach this if we have to do it ourselves? Using the dataset etc. etc.?

Any assistance or pointing in the right direction will be appreciated

Rakesh
Top achievements
Rank 1
Iron
 answered on 13 Mar 2023
1 answer
165 views

Hi Telerik,

The requirement is to have text inside ranges.

Is there a way to do it?

Nikolay
Telerik team
 answered on 13 Mar 2023
1 answer
348 views

We are seeing an error when pasting an image from a Microsoft Word document into the Kendo editor.  This can be reproduced on the demo site by creating a new Word document and selecting the Resume template, then copying the profile image out of Word and pasting it into the editor.

The error reported is:

Uncaught TypeError: Failed to execute 'readAsDataURL' on 'FileReader': parameter 1 is not of type 'Blob'.
    at _fileToDataURL (kendo.all.js:313050:21)
    at Function.map (jquery.min.js:2:3630)
    at init._insertImages (kendo.all.js:313050:21)
    at init._handleImagePaste (kendo.all.js:313050:21)
    at init.onpaste (kendo.all.js:313050:21)
    at cut copy paste drop dragover (kendo.all.js:313050:21)
    at HTMLBodyElement.dispatch (jquery.min.js:3:12445)
    at r.handle (jquery.min.js:3:9174)

The problem is that because this error is thrown, the paste command is never executed in our code for processing the image.  Please let me know if there is anything we can do about this error.

Thanks,

Bob

 

Neli
Telerik team
 answered on 13 Mar 2023
0 answers
199 views
I am creating the donut chart with two categories. When one of the values is zero the color set to that category shades the center of the chart. How can I prevent that?




                            $("#" + appendDiv + index).kendoChart({
                                    title: {
                                        position: "bottom",
                                        text: data[0].hospital + `\nPatients ${data[0].total}`,
                                    },
                                    legend: {
                                        position: "top",
                                        visible: false
                                    },
                                    dataSource: {
                                        data: data
                                    },
                                series: [{
                                    type: "donut",
                                    field: "value",
                                    categoryField: "name",
                                }],
                                    seriesDefaults: {
                                        labels: {
                                            template: "${ value }",
                                            position: "center",
                                            visible: true,
                                            background: "transparent",
                                            color: "white",
                                            font:"15px"
                                        }
                                    },
                                seriesColors: ["#46bf6f", "#229dff"],
                                    tooltip: {
                                        visible: true,
                                        template: "${ category } - ${ value }"
                                },
                            })
Eduardo
Top achievements
Rank 1
 updated question on 09 Mar 2023
1 answer
251 views

Is anyone using kendo components within formio(https://form.io/)? If so could you suggest me some clues about usage of kendo grid within formio?

Regards

Sefa

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 09 Mar 2023
0 answers
237 views

Hello there,

We are using both Kendo UI for Jquery and React in our project.
Should we follow both (different) approaches for each of them when it comes to apllying license in newer version of Kendo suite?

We also have issues with our license. Once we applied it we got error that license is not valid.

Best regards,
-Stevan

Stevan
Top achievements
Rank 1
Iron
Iron
 updated question on 08 Mar 2023
1 answer
339 views

the default number of page buttons is currently 10.

would like to know if it is possible to change to 5 buttons when it is detected that the user is surfing the page on mobile?

Patrick | Technical Support Engineer, Senior
Telerik team
 answered on 06 Mar 2023
1 answer
1.3K+ views

Hello there!

I have a question regarding the use of multiple fields in one KendoGrid column.

I managed to display multiple fields in one column by using this code (data source is set dynamically using a buttongroup):

$("#users-grid").kendoGrid({
                groupable: false,
                filterable: { mode: "menu" },
                sortable: true,
                resizable: true,
                pageable: true,
                columns: [{
                    title: "OrderNumber",
                    field: "OrderNumber",
                    width: "10%",
                    resizable: true,
                    template: '#=OrderNumber#',
                    filterable: true
                },
                    {
                        title: "Address",
                        field: "AddressDelivery.ZipCode",
                        width: "35%",
                        resizable: true,
                        template: '#=AddressDelivery.ZipCode#  #=AddressDelivery.City# - #=AddressDelivery.Street#  #=AddressDelivery.StreetNumber# - #=AddressDelivery.Iso3166Alpha2#'
                    },
                {
                    title: "Creation Date",
                    field: "CreationDate",
                    width: "8%",
                    resizable: true,
                    template: '#=isNull(CreationDate)?\'\':kendo.toString(CreationDate, \'dd.MM.yy\')#'
                },
                {
                    title: "Complete Date",
                    field: "CompleteDate",
                    width: "8%",
                    resizable: true,
                    template: '#=isNull(CompleteDate)?\'\':kendo.toString(CompleteDate, \'dd.MM.yy\')#'
                },
                {
                    title: "Company / Last Name",
                    field: "AddressDelivery.Company",
                    width: "25%",
                    resizable: true,
                    template: '#=AddressDelivery.Company?AddressDelivery.Company:\'\'# / #=AddressDelivery. LastName#'
                }]
               
            });

However, I want to make it possible, that my Users can filter the column "Address" regarding every field that is displayed. At the moment I can only filter by AddressDelivery.ZipCode.

 

How would I manage that?

 

Best regards

Georgi Denchev
Telerik team
 answered on 06 Mar 2023
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
Drag and Drop
Application
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
LLM Kit
+? more
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?