Telerik Forums
Kendo UI for jQuery Forum
1 answer
125 views

Hello, 

We have faced some interesting behavior - 

kendo.parseDate("17:01")

returns "Tue Mar 13 2018 17:01:00 GMT+0200 (FLE Standard Time)"

Which means that this method much more data that we passing into (Tue Mar 2018 - current date). Is this expected behavior?

Thanks.

Viktor Tachev
Telerik team
 answered on 15 Mar 2018
1 answer
256 views

I'd like to allow users to dynamically change the URL of the media player.

I have tried to destroy the widget and recreate it but I get an error.

$("#mediaplayer").data("kendoMediaPlayer").destroy();

"VM66743:62 Uncaught TypeError: Cannot set property 'ontimeupdate' of undefined"

How can I update the URL of the media player and refresh the player to play the new URL?

 

Viktor Tachev
Telerik team
 answered on 15 Mar 2018
1 answer
260 views

Hi,

I am trying to implement kendo autocomplete on google maps. Normally it works fine but when I make the map full screen then autocomplete dropdown list is not selectable anymore. I tried to change the z-index but didn't work. Any ideas?

 

Here is my sample fiddle.

Magdalena
Telerik team
 answered on 15 Mar 2018
4 answers
1.0K+ views
I'm fairly new to Kendo UI/Angular and I've run into a problem which I hope is not a biggie.Basically I want to allow users to dynamically create a grid.. that means setting data source, selecting columns.. grid options etc.The data source (which is SharePoint but it ain't part of the issue...) can sometime bring a "user" field which is the id of the user rather than the name. So after doing a little bit of research I opted to use column template function to get the actual name.Below is a portion of the Column object function that I use to dynamically create columns which will be pushed into an array.The piece of code that sets template works like a charm. However, if the grid has grouping enabled, when this column is dragged to be grouped by, then it shows the id. So I thought - too easy, I'm just going to do the same thing for the groupHeaderTemplate.. but it didn't work :( .It appears that this portion of the code * dataItem." + userId + " * is not valid when grouping. It just sends an undefined to the function. I've tried different things.. like use 'value', which kendo uses in some of their examples.. but no party so far.

Any help would be greatly appreciated!

function Column(Field, Title, Type) {
if(Type == "User"){
var userId = Field + "Id";
this.field = userId
this.template = "<span ng-bind=getUserName(dataItem." + userId + ")></span>";
this.groupHeaderTemplate = "<span ng-bind=getUserName(Dont Know What to put here)></span>";
} .....
}

 

Btw. when debugging this thing, I noticed that the getUSerName function gets call an stupid amounts times when rendering the grid. Is this normal? or am I doing something wrong? I'm a bit concern about the impact it could have on the performance. I mean, my test data source had 3 results, but the function was being called like 15 times.. odd.
Stefan
Telerik team
 answered on 15 Mar 2018
5 answers
1.9K+ views
Do we have a way to turn all grid header verticaly?

I try:
$('#GroupeID' + GroupeId).find('.k-header').each(function () {
    $(this).css({
        'transform':'rotate(90deg)',
        '-moz-transform':'rotate(90deg)',
        '-o-transform':'rotate(90deg)',
        '-webkit-transform':'rotate(90deg)',
        '-ms-transform':'rotate(90deg)'
    });
});
 
$('#GroupeID' + GroupeId).find('.k-grid-header').css('height', '300px');
But that not give the exepected result.
thanks
Stefan
Telerik team
 answered on 15 Mar 2018
1 answer
170 views

I noticed that the thembuilder appears to download the full CSS for the entire framework, which would be expected. Is there an existing option or a planned future option to download only the CSS needed? For example if I wanted to do a custom build of Kendo Ui for only the grid widget, would I be able to use the themebuilder to create a theme that contains only the CSS needed for grid (and any required base CSS stuff as well) ?

Just curious as it would be nice to be able to generate a smaller CSS file to match a custom build.

Thanks,
Alan

 

Eduardo Serra
Telerik team
 answered on 14 Mar 2018
1 answer
188 views

Hello,

the problem which I have encountered is as following. When using DropDownList when items are long text and there are a lot of them on Chrome browser(IE and Edge works fine). There can be seen a difference in time which is needed for drop down to appear. This gives UX.

It can be easily observed on demo with list with short items and long ones in Chrome vs Edge.

Any suggestions how to proceed with it?

Demo: http://dojo.telerik.com/ImOtevOq

Nencho
Telerik team
 answered on 14 Mar 2018
10 answers
794 views
 On the Dojo Example   have split  The Items in Opening of are hidden behind div. How to show on top of
Magdalena
Telerik team
 answered on 13 Mar 2018
5 answers
2.8K+ views

Hi,

I have a requirement in my project to transpose a grid (i.e. displaying tabular data in the flip axis so rows becomes columns and vice versa).

For example: Below is the data we typically display in kendo grid. It has 3 columns : Name, Age and City

Name             Age      City
John             35       New York
Brian            37       London
Tom              38       Phoenix

 

I want to display above data in below manner: 

Name    John        Brian   Tom
Age     35          37      38
City    New York    London  Phoenix

I noticed a server side solution of what I am looking for in a teleric blog (http://www.telerik.com/blogs/transpose-or-just-rows-as-columns), however I am looking as client side solution for it as rows will be added dynamically at run time on client event.

I also found few solutions on internet which partially solve the problem but they require to destroy the grid and then creating it all over again which I don’t want to do as I will lose existing unsaved data.

Please let me know if it’s possible to achieve using Kendo Grid.?  We use KendoUI for ASP.NET MVC and Kendo UI for HTML5.

Viktor Tachev
Telerik team
 answered on 13 Mar 2018
4 answers
975 views
I have a contextmenu that is targetting elements with a certain class, for example: $('#menu').kendoContextMenu(target: '.my-class'). Now I adding new DOM elements dynamically after creation of the contextmenu that have the class 'my-class'. How can I reuse the existing contextmenu?
Veselin Tsvetanov
Telerik team
 answered on 13 Mar 2018
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
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
+? more
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?