Telerik Forums
Kendo UI for jQuery Forum
1 answer
94 views
Hello, I have  which is

var viewModel = kendo.observable({
        data: vmJson,
       selected:null
});

there is grid which is bind to viewModel.data and on there is  which executes code:

this.set("selected",e.data)

the "selected" is also to div which has and some grids in kendo template. Whenever update using 

this.selected.set("name",personname) 
 
1) on of above the selected Div which is  gets hidden. The div is inside kendo template and no visible binding are When execute $(div).show() in the div is seen and values are updated. There is something wrong in method of selected?

2) for nested set which one is right:
  this.selected.address.set("pin",pincode)
OR
this.selected.set("address.pin",pincode)










Konstantin Dikov
Telerik team
 answered on 09 May 2018
1 answer
133 views

I believe you have a bug in your software.

I would like to display a 2 digit hour value, but want the time displayed in 24hour format.  So I'd like the hour zero padded if it is less than 10.

Here are the value and format combinations I've used and how to recreate the bug:

5/1/2018 1:11 => dd-mmm-yyyy h:mm => 01-may-2018 1:11 (works)

5/1/2018 1:11 => dd-mmm-yyyy hh:mm => 01-may-2018 01:11 (works)

5/1/2018 13:13 => dd-mmm-yyyy h:mm => 01-may-2018 13:13 (works)

5/1/2018 13:13 => dd-mmm-yyyy hh:mm => 01-may-2018 01:13 (broken)

Let me know if you have any questions.

Greg

Neli
Telerik team
 answered on 09 May 2018
1 answer
245 views

Hello,

can someone tell me why my pie chart is disappearing when I call .refresh()?

Here is a snipped illustrating my problem:

https://dojo.telerik.com/uGijuvOw/2

It works fine when I set the data as the dataSource and call dataSource.read() prior to .refresh(). But for our use case it would be more convenient to have the data embedded in the series.

Regards,
Matthias

Stefan
Telerik team
 answered on 09 May 2018
8 answers
470 views

Hello,

I have a date column in my grid. But sometimes the date picker filter doesn't open. When I debug, I can see it opens then closed automatically because the scroll event is bound to the grid in the open function when options.modal is not true.

What does options.modal do? I don't see any documentation about this. And why bind the scroll event  and close the popup in this case?

 

Best regards,

Yajing

 

Stefan
Telerik team
 answered on 09 May 2018
1 answer
230 views

When expanding all kendo grid rows, it is very slow.

The detailtemplate is very simple, but it is still so slow. Any suggestions how to make it faster?

 

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

Preslav
Telerik team
 answered on 08 May 2018
2 answers
251 views

I need to perform a custom action on a row. For that I want to use the rowheader contextmenu.

How can I know wich row Index is the context menu being applied? the contextMenu e.target seems to be the whole spreadsheet.

I cannot find any clue in either contextmenu or spreadsheet  docs or forums.

var rowHeaderContextMenu = this.currentSpreadsheet.rowHeaderContextMenu();
rowHeaderContextMenu.remove("[data-action=delete-row]");
rowHeaderContextMenu.remove("[data-action=hide-row]");
rowHeaderContextMenu.append("<li id='myAction' data-action='row-customaction'>My custom action</li>");
 
rowHeaderContextMenu.bind('select', function(e){
    console.log('contextmenu row', e);

     var rowIndex = ?????????

     doMyCustomAction(rowIndex);

});

 

Extra points if the answer applies also for a cell / columnHeader.

Thanks in advance.

 

 

 

 

 

Veselin Tsvetanov
Telerik team
 answered on 08 May 2018
9 answers
833 views
I am using the map and all is working mostly. My problem is how can I change the map marker based on the data feed?

I am getting my data as latlng = [32.123, 80.123], name = "KDAY", color = "green"

I can get the marker to show up in the correct place and the name set properly the next thing I need to do is set the color of the marker based on the color field. I have three different colors that I need to be able to use.

Any ideas?
Alex Hajigeorgieva
Telerik team
 answered on 08 May 2018
1 answer
285 views

I am using the filtering from column menu for a grid and I have to support some other languages. I wanted to use the default translation that is provided with the kendo instalation, however I saw that not everything is translated.

What I have noticed was that the filtermenu in messages has also a title that is basically the same text as the info

messages: {
     info: 'Show items with value that:',
     title: 'Show items with value that:',
}

but on the translation files the title is not translated

if (kendo.ui.FilterMenu) {
kendo.ui.FilterMenu.prototype.options.messages =
$.extend(true, kendo.ui.FilterMenu.prototype.options.messages,{
  "info": "Mostrar filas con valor que:",
  ....
}

I know how to implement the translation but I would like to register this as a request to be solved.

Preslav
Telerik team
 answered on 07 May 2018
2 answers
205 views

I've hooked into the change event on the spreadsheet to do some processing of the value entered.  Inside the method, I'm using range.forEachCell() to loop over the cells that changed

Anytime I paste a value into a cell it is looping over the range twice.  Here is a quick snippet from the javascript console:

cell value: 4/3/2018 3:03
*** after forEachCell
cell value: 4/3/2018 3:03
*** after forEachCell

 

Is this expected behavior or is this a bug in your software?

I'm using the current release of your software, testing in the latest version of Firefox 59.0.2 (64bit) and have verified it on Chrome v66 (64bit).

Let me know.

Thanks.
Greg

Dimitar
Telerik team
 answered on 07 May 2018
4 answers
1.2K+ views

 

is there any way to append a context menu to each (or part of them) cells of the kendo grid ?

what I am trying to do is to give to the cell a drill-down options functionalit.

what I would like to do is:  right click a cell of the grid and view a context menu with the available drillable options, once I clicked one action of the menu I need to retrieve the sender cell parameters like for example row id, column id, value etc.. depending on action needs.

I've found a way to have a similar functionality by using tooltip which is fired on left-click and which allows me to retrive sender-cell data through selected method of the grid, but I'd like to improve this solution.

Any suggestions? I'm using angular 1.x.x

Stefan
Telerik team
 answered on 07 May 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?