Telerik Forums
Kendo UI for jQuery Forum
20 answers
261 views

Hello.

We've seen multiple problems with the layout transition effects:

1. The width of the view to navigate from is being reduced to a fraction of the actual width in the beginning of the transition.

2. The AppBar is not part of the transition effect if navigating back to a view with an AppBar "sticked" to the top and the vertical scrollbar position in the browser is not at the top.

3. Have seen the transition effect not working at all sometimes when navigating back to a previous view.

 

We're using Kendo UI for jQuery R3 2020.

 

Regards, Rolf

Rolf Falnes
Top achievements
Rank 1
Iron
 answered on 19 Feb 2021
2 answers
2.4K+ views

Hey,

I'm using a template to get a button into my grid toolbar since my atempt to write it analog to teh treelist doesn't work. But I can't access the click event. I want to open a custom create-dialog for grid items.

For the treelist i use something like this:

toolbar: [{
 
imageClass: 'k-i-plus',
name: 'createPosition',
text: 'New',
click() {
$('#newItemDialog').data('kendoDialog').open();
},
},
'search',
]

 

Since this doesn't seem to work I tried this but can't access the click-event:

 

$myGrid.kendoGrid({
        dataSource: myDatasource,
        columns: [
        ....
        ],
        toolbar: [
            {
                template: '<a class="k-button" href="\\#" id="newItemButton" ">New</a><span class="k-textbox k-grid-search k-display-flex"><input autocomplete="off" placeholder="Search..." title="Search..." class="k-input"><span class="k-input-icon"><span class="k-icon k-i-search"></span></span></span>'
            }
        ],
       
    }).after(() => {
        $('newItemButton').kendoButton({
            icon: 'k-i-plus',
            click: onNewClick
        });
    });
 
function onNewClick() {
    $('#newItemDialog').data('kendoDialog').open();
}
Hans-Jürgen
Top achievements
Rank 1
Veteran
 answered on 18 Feb 2021
1 answer
456 views

 

 

DateTimePicker does to not scroll to selected value when the TimePicker is opened since version 2020.2.513, is it a bug? If not, what can I do to achieve the behavior in latest version of Kendo UI for jQuery?

https://dojo.telerik.com/aJolodUn

Mihaela
Telerik team
 answered on 18 Feb 2021
1 answer
356 views

For our date fields when no date has yet been selected, on opening the calendar control, we want the start date to be set to a specific date. Is this possible?  Not today's date but a date in the past. 

I can set a default date but then on reaching that page the default date is showing in the input  - we don't want that.  On reaching the page , the date must show as blank and only on opening of the calendar, the date should be defaulting to our specified date. Then once a date is selected it can be shown in the input. 

Anton Mironov
Telerik team
 answered on 18 Feb 2021
3 answers
329 views

Hi,

We are using Kendo stock chart to display  365 days of data, but I can see that the full one year(365 days) data is not being displayed on the category axis in the default/ zoomout mode. But when i zoom in I can see the bars for each day. How can i fix this ? Is this something related to sample rate ? I need to show full data on the category axis.  Attaching images, first img is kendostock chart which won't display all data, second img is KendoChart which displays full set of data. But I need this work with KenoStock chart. Appreciate any help. 

 

 

 

 

 

 

 

 

 

Wasquez
Top achievements
Rank 1
 answered on 17 Feb 2021
8 answers
1.0K+ views

I need to refresh the whole treeview and I found on forums that to do that is to call .dataSource.read() method. However when I call this method the user does not see that the treeview is loading and he still sees the old data.

How to refresh the treeview and display the loading animation just like when the treeview is loaded for the first time?

Stoyan
Telerik team
 answered on 17 Feb 2021
3 answers
497 views
I have a Grid with the following DataSource:
..
transport: {
    read: {
        url: "GetJsonData.p",
        data: {
            "function": grid_function,
            "element":  "grid",
            "param1":   grid_param1,
            "param2":   grid_param2,
            "param3":   grid_param3,
            "rowid":    grid_rowid
        },
        dataType: "json"
    }
},
schema: {
    data:  "data",
    total: "recordsCount",
    model: {
        id: "field1"
    }
}
...

I want to be able to update the DataSource when the user selects a row on a different Grid. For that reason, I am using a JS function that uses the SetDataSouce method and passes different values to the getJsonData.p procedure, which then generates the return data:

function SetGridDS(grid_element,grid_function,grid_param1,grid_param2,grid_param3,grid_rowid) {
    grid_element.setDataSource(new kendo.data.DataSource({
        transport: {
            read: {
                url: "GetJsonData.p",
                data: {
                    "function": grid_function,
                    "element":  "grid",
                    "param1":   grid_param1,
                    "param1":   grid_param2,
                    "param3":   grid_param3,
                    "rowid":    grid_rowid
                },
                dataType: "json"
            }
        },
        schema: {
            data:  "data",
            total: "recordsCount",
            model: {
                id: "field1"
            }
        }
    }));
 
    grid_element.dataSource.read();
}

 

However, I am getting the e.slice is not a function error. (hence the schema and the model, as suggested by others in the forum - but with no luck).
Is there a way to better analyse the error and find what exactly is causing it?

Thank you in advance,
Syian

Anton Mironov
Telerik team
 answered on 17 Feb 2021
1 answer
105 views

Hi,

We need to display only month view and Agenda view. We don't want other views. so we have hide those views. we have set view properties like 'event per day':2

Now if on one particular day, if there are more than 2 events, Month view shows.. and it will be opening day view which we don't want.

So How we can show event per day dynamically based on the number of events in that particular month? 

If we set 'event per day' more than 2 then UI doesn't look good if we don't have single event on particular day.

Can't we implement functionality like SharePoint where in calendar month view, if on any particular day if there are more than 2 events then it gives expand, collapse option? In that case if you expand the events, it increases particular row height of the table rather than entire scheduler rows?

Please find the screenshot for the same.

Thanks,

 

 

 

Martin
Telerik team
 answered on 17 Feb 2021
5 answers
1.3K+ views

Hello,

How do I configure the width of the donut chart circle?  The default one created by Kendo UI is very thick, but I would like a thinner one.  Attached is a screen shot of what I see when I use the donut chart as-is.  Also attached is a thinner donut chart image which is what I'm trying to achieve.  I tried to use the example for doing this with a bar chart, but it resulted in nothing showing up for the donut chart.

Thanks in advance,
David

Tsvetomir
Telerik team
 answered on 16 Feb 2021
3 answers
533 views

A client is asking for both batch edit AND a detail/expand edit.

They like the Excel-like editing of batch, but they want several other UI features in the expanded/detail view that don't make sense in a grid row (think charts, hyperlinks, buttons to calculate things, etc.). The idea is that users could use both, even on the same row, then save all grid changes as usually for batch.

I've got it mostly working here: https://jsfiddle.net/joewilson0/jwcLhtg2/

But I have two questions:

  1. Is this a supported way to make edits? Any concerns?
  2. When I change a value in the detail/expand template, the row collapses. How can I prevent that?
Georgi Denchev
Telerik team
 answered on 16 Feb 2021
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)
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
MultiColumnComboBox
Dialog
Chat
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
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
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?