Telerik Forums
Kendo UI for jQuery Forum
2 answers
570 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
468 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
110 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
254 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
127 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
181 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
166 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
272 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.1K+ 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
0 answers
111 views

Hi, are there any demo counterparts in jquery of canvas mode in asp.net?

https://demos.telerik.com/aspnet-ajax/imageeditor/examples/canvassupport/defaultcs.aspx

 

so basically we want to edit an image adding text, line and such.

Enrico
Top achievements
Rank 1
 updated question on 06 Mar 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
Drawing API
Drawer (Mobile)
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?