Telerik Forums
Kendo UI for jQuery Forum
11 answers
179 views

Sample: http://dojo.telerik.com/OCURa

 

I'm trying to use a mobile Collapsible widget with icons in the header, but toggling the collapsed state will break those icons marked with the km-icon class. Icons in the body are unaffected.

 
Marco
Top achievements
Rank 1
Iron
 answered on 17 Jan 2020
1 answer
1.0K+ views

I have been trying to find a way to insert a button into a Kendo ToolBar widget dynamically. I would like to insert it into a specific location among existing buttons on the ToolBar. The only functionality I see is an add function that will add a new button, but no way to insert it anywhere.

In my search on this topic I found this older thread:

https://www.telerik.com/forums/insert-item-at-the-beginning

which resulted in this feature request:

https://feedback.telerik.com/kendo-jquery-ui/1359920-kendotoolbar-dynamically-insert-items-insertafter-insertbefore

 

I am hoping that I am not the only one that has had a similar need. Is there any other way to be able to insert a new button?

Thanks in advance.

Kerry

Petar
Telerik team
 answered on 17 Jan 2020
3 answers
99 views
Hello,

No matter what data you add to another grid via a popup, the grid's scrollbar or pager always points to the top or top of the page.


I just want the focus to shift to the data I added.

If data was added at the very end of the scroll, the saved scrollbar should also move to the bottom.

If new data is stored on page 10, I want to go to page 10 and make the data visible immediately.

Is there a way?
Viktor Tachev
Telerik team
 answered on 17 Jan 2020
9 answers
1.4K+ views
I want to use filter mode row and in some columns multi checkbox, is  possible to use two modes of filter in the same grid?
Alex Hajigeorgieva
Telerik team
 answered on 16 Jan 2020
1 answer
725 views
Hello.

I'm using a custom dropdown list using <Input ...>.

So a drop down list exists for every row in the grid.

When I click on a row here I want to get all the information of that row.

But there is something wrong with the value returned by the dropdown list.

1. Data that has already been saved in DB and not modified is imported correctly.

2. If you use incell to change the dropdown, "textField" gets the correct value, but "valueField" still points to the previous value.

For example:

textfield: name
valuefield: id

{id: 1, name: 'apple'},
{id: 2, name: 'orange'}

If the data stored in DB is {id: 1, name: apple}, "1, apple" is imported when row is clicked.

After this I change the dropdown to orange and don't save it yet.

"1, orange"
Get the data called

That is, the valuefield has not been updated, only the textfield has been updated.

Can you imagine what went wrong?

Or do you need code?
Martin
Telerik team
 answered on 16 Jan 2020
1 answer
238 views

The gantt.configuration.toolbar add task(append) , pdf, custom buttons only update the top of the control.  This is demonstrated in almost all of the the Telerik Dojo examples https://docs.telerik.com/kendo-ui/api/javascript/ui/gantt/configuration/toolbar.   

I'd like an example of how to hide the bottom tool bar.

Veselin Tsvetanov
Telerik team
 answered on 15 Jan 2020
1 answer
163 views

Hi,

We have used below code to export the data in excel format. When we used below code is this send any data to your server. If yes suggest which code should we used that it will not send any data to your server.
Below is the summary.
1. Added below javascript reference.
    <script src="scripts/shared/kendo.all.min.js"></script>
    <script src="scripts/shared/jszip.min.js"></script>
2. Use below code to create workbook and save the file as excel.
                var sheet = {};
                sheet.columns = columnsForEx;
                var titleForSheet = selectedGrid.gridName + " (" + total + ")";
                sheet.title = titleForSheet;
                sheet.rows = rows;
                Recordsheets.push(sheet);

                //create workbok
                var workbook = new kendo.ooxml.Workbook({

                    sheets: Recordsheets
                });

                //save the excel 
                kendo.saveAs({
                    dataURI: workbook.toDataURL(),                   
                    fileName: "ExportedRecords.xlsx"
                });
When we check the call back URL in the workbook.toDataURL() in console then it gives below URL when we put this url in browser then it download the excel file. So this is why we are asking this question. Is any data go to your server.
data:application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;base64,UEsDBAoAAAAAAOqDKlAAAAAAAAAAAAAAAAAJAAAAZG9jUHJvcHMvUEsDBAoAAAAIAOqDKlCf0zfRMQEAAGkCAAARAAAAZG9jUHJvcHMvY29yZS54bWylkl1LwzAUhu8F/0PJfZukg01C24HKQHQguKF4F5Kzrdh8kES7/XvTbus23J2XyfucJ+ccUky3qkl+wPna6BLRjKAEtDCy1usSLRez9A4lPnAteWM0lGgHHk2r25tCWCaMg1dnLLhQg0+iSXsmbIk2IViGsRcbUNxnkdAxXBmneIhHt8aWiy++BpwTMsYKApc8cNwJUzsY0UEpxaC0367pBVJgaECBDh7TjOITG8Apf7WgT85IVYedhavoMRzora8HsG3brB31aOyf4o/5y1s/alrrblcCUFVIwYQDHoy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AgA6oMqUOseysPaAQAAJAQAAA0AAAAAAAAAAAAAAAAAxwkAAHhsL3N0eWxlcy54bWxQSwECFAAKAAAACADqgypQxkr1MwMBAADmAQAAFAAAAAAAAAAAAAAAAADMCwAAeGwvc2hhcmVkU3RyaW5ncy54bWxQSwECFAAKAAAACADqgypQ3gerdkUBAAAlBAAAEwAAAAAAAAAAAAAAAAABDQAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLBQYAAAAADgAOAE4DAAB3DgAAAAA=
Waiting for your reply.
Thanks!
Balasaheb

Alex Hajigeorgieva
Telerik team
 answered on 15 Jan 2020
2 answers
378 views

Is it possible to put cards inside a div and to filter those cards based on the value it contains and well as sort the cards.?

Is there any demo available for that?

Dimitar
Telerik team
 answered on 15 Jan 2020
1 answer
232 views

Hi, I a have a requirement to only allow users to enter time in 30 segments. Since I have set up my scheduler with 30 minute blocks, when the user adds a slot, it will default to a 30 minute block, however the user may still manually enter in a different time in the textbox. I have set the drop-down from the datetimepicker to only show 30 minute slows, but is it possible to set a mask on the associated textbox? I wasn't able to find an existing solution to this, would a mask be the best choice, and if so, is there an example? Note that simply disabling this text box will not be sufficient. 

See the highlighted sections in the attached screenshot.

 

 

 

Ivan Danchev
Telerik team
 answered on 14 Jan 2020
1 answer
4.6K+ views

I am generating several dropdown lists dynamically in a modal when the user clicks a button. The number of dropdownlists varies depending on the data associated with the button click. I want the user to be able to tab from field to field and have the list automatically open when the user tabs into the field. When the user clicks on the field I want it to toggle open or closed still though. Currently, I added an onFocus event

$('.js-k-item-dropdown').on('focus', function (evt) {
        let elementID = $(evt.target).find('input').attr('id');
        let dropdown = $(`#${elementID}`).data("kendoDropDownList");
        dropdown.open();
    });

This works when the user tabs to the field but when the user clicks on another dropdown list the list opens and closes immediately. How do I prevent this behavior?

Ivan Danchev
Telerik team
 answered on 14 Jan 2020
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
Localization
Barcode
Breadcrumb
Collapsible
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
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Top achievements
Rank 1
Iron
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ivory
Top achievements
Rank 1
Iron
Nurik
Top achievements
Rank 2
Iron
Iron
YF
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?