Telerik Forums
Kendo UI for jQuery Forum
1 answer
105 views

Having a Kendo editor declared like this:

                @(Html.Kendo().EditorFor(m => m.MyEditor)
                            .Name("MyEditor")
                            .Resizable(true)
                            .StyleSheets(css => css.Add(Url.Content("~/Content/EditorStyles.css")))
                            .Messages(messages => messages
                                .FontNameInherit("Default")
                                .FontSizeInherit("Default")
                            )
                            .Tools(tools => tools
                                .Clear()
                                .Bold()
                                .Italic()
                                .Underline()
                                .JustifyLeft()
                                .JustifyCenter()
                                .JustifyRight()
                                .InsertUnorderedList()
                                .InsertOrderedList()
                                .Indent()
                                .FontName(fonts => fonts
                                    .Add("Arial", "Arial")
                                    .Add("Courier New", "Courier New")
                                    .Add("Helvetica", "Helvetica")
                                    .Add("Times New Roman", "TimesNewRoman")
                                    .Add("Verdana", "Verdana")
                                )
                                .FontSize(sizes => sizes
                                    .Add("8", "8pt")
                                    .Add("9", "9pt")
                                    .Add("10", "10pt")
                                    .Add("12", "12pt")
                                    .Add("14", "14pt")
                                    .Add("16", "16pt")
                                    .Add("18", "18pt")
                                    .Add("20", "20pt")
                                )
                        ))
Is there any way to programmatically add the font sizes instead of with the fixed .Add method?  I need to read a configuration file in the model then based on the font sizes of the configuration, add only those font sizes to the dropdown.  I am a little stumped on how to do this using the EditorDropDownItemBuilder approach.  Thanks for any help.

 

 

 

 

Alexander
Telerik team
 answered on 20 Nov 2024
1 answer
53 views

We have a kendo grid using a number of features including sticky and nested columns.   The non-sticky (nested) columns are sluggish when trying to resize.   It does work, but the animation is slow. 

Is there anyway to improve the performance of the grid resizing in this situation?   There doesn't appear to be an animation option behind that that could be disabled.   

Martin
Telerik team
 answered on 20 Nov 2024
1 answer
63 views
Hello,

I'm trying to configure a radar chart using Kendo UI to display data for our dimensions. The chart should only display three axis values: 0, 40, and 100. These values are the only possible ones for our dimensions, and we'd like to make the chart more readable by displaying only these three values.

I've tried to configure the chart using the following code:


$("#graph").kendoChart({
    title: {
        text: "Dimensions"
    },
    legend: {
        position: "bottom"
    },
    seriesDefaults: {
        type: "radarArea",
        color: "#0033c4"
    },
    series: [{
        name: "",
        data: ["40", "100", "0", "0", "40"]
    }],
    categoryAxis: {
        categories: [
            "Dimension 1", "Dimension 2", "Dimension 3",
            "Dimension 4", "Dimension 5"
        ],
        color: "black",
        majorGridLines: {
            visible: false
        }
    },
    valueAxis: {
        max: 100, 
        min: 0,   
        majorUnit: 20,
        labels: {
            visible:true,
            format: "{0}%"
        },
        majorGridLines: {
            visible: true 
        },
        line: {
            visible: true 
        }
    }
});
However, I'm having trouble finding a way to display only the axis values 0, 40, and 100. I've tried using the majorUnit property to set the major unit of the axis, but it doesn't seem to work as desired. ( If I put 40....i will get 0, 40 and 80 ).

Could you please help me configure the chart to display only the axis values 0, 40, and 100?

Additional Information:
Kendo UI version used: kendoui.for.jquery.2024.3.806.commercial

Thank you !
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 answered on 19 Nov 2024
0 answers
54 views

I have been looking at kendo.drawing to render some charts to PDF and that has been working. Now we have the need to automate rendering the charts and attaching them to an email which then gets sent as part of a batch process.

Is it possible to invoke kendo.drawing.drawDom and kendo.saveAs from the server side?

Jay
Top achievements
Rank 3
Bronze
Iron
Iron
 asked on 18 Nov 2024
0 answers
45 views

Hi everyone.

My multiselect works fine, but it adds a completely useless extra select at the bottom.
How can I remove it?

This is my code. The multiselect is fired by mvvm.

<select id="categories" 
    data-placeholder="Seleziona le categorie"
    data-role="multiselect" 
    data-bind="source: categories, value: detailForm.data.selectedCategories" 
    data-value-field="id"
    data-text-field="name"
    >
</select>

Any hint?
Thanks in advance.

Marco
Top achievements
Rank 2
Iron
Iron
 asked on 18 Nov 2024
1 answer
63 views

Hi,

I was wondering if it was possible to display an image as a response in the Chat control? For example, respond with a png to a users question as oppose to a textual respone. I noticed the renderAttachments method but I am not sure if that is the correct approach.

Thanks,

Euan

Neli
Telerik team
 answered on 18 Nov 2024
1 answer
59 views
I am trying to implement a way for resuming a chunk file upload based on the last successfully uploaded index (assuming that the .remove() functionality was not used to delete the previous attempt from the server). ChatGPT seems to think this is possible by setting chunkIndex property of e.data in the upload function, but that doesn't seem to affect the starting index based on the ChunkIndex passed in the MetaData property of the subsequent API call. Is there a way to set the starting index of a chunk upload?
Neli
Telerik team
 answered on 15 Nov 2024
5 answers
343 views

What are the alternative approaches to using script tags to house templates?

If you have a <script id="bla" type="text/x-kendo-template"> tag in a partial and try to render it in your main view with either Html.Partial or Html.RenderPartial, it seems that Razor messes around with those script tags somehow.

It's that, or the browser doesn't like the fact that I'm embedding one script tag within another. The reason I'm doing this is because the outer script tag is used for a Kendo View template/content. The inner script tags are templates for a Grid.

 

?

Bhavika
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 08 Nov 2024
3 answers
1.1K+ views

How to create Alignment of Column Text Header at Middle of merge Row

 

See Picture

oreops
Top achievements
Rank 1
Iron
 answered on 08 Nov 2024
1 answer
44 views

Hi,

   Can we customize the hyperlink dialog in your editor?

Neli
Telerik team
 answered on 07 Nov 2024
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)
SPA
Filter
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
MultiViewCalendar
Touch
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
StockChart
ContextMenu
TimePicker
DateTimePicker
RadialGauge
ArcGauge
+? more
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Bronze
Iron
Iron
yw
Top achievements
Rank 2
Iron
Iron
Stefan
Top achievements
Rank 2
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Bohdan
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?