Telerik Forums
Kendo UI for jQuery Forum
1 answer
81 views
I'm using a JavaScript version of the MultiSelectInGrid example. Based on the example, an Employee belongs to multiple Territories. I want to add an association where each Territory belongs to multiple Regions. I'm trying to display Employees, Territories and Regions in a single grid. 

The following template works when trying to display the name of each Territory:
<script type="text/kendo" id="territoriesTemplate">
<ul>
    #for(var i = 0; i < Territories.length; i++){#
        <li>#:Territories[i].TerritoryName#</li>
    #}#
</ul>
</script>
This function is being used to display the array in a readable format within the grid:
function serializeArray(prefix, array, result) {
for (var i = 0; i < array.length; i++) {
    if ($.isPlainObject(array[i])) {
        for (var property in array[i]) {
            result[prefix + "[" + i + "]." + property] = array[i][property];
        }
    }
    else {
        result[prefix + "[" + i + "]"] = array[i];
    }
  }
}
I've tried the template below but I can only see '[object Object]' in the column.  Any idea how I can get it to work?
<script type="text/kendo" id="territoriesTemplate">
<ul>
    #for(var i = 0; i < Territories.length; i++){#
        <li>#:Territories[i].Regions#</li>
    #}#
</ul>
</script>
Vladimir Iliev
Telerik team
 answered on 26 Dec 2013
1 answer
79 views
I've used JavaScript to initialise a grid. Please have a look at this JSBin which illustrates what I have at the moment. The grid has been built based on this example in the Code Library, which allows grid rows to be selected using checkboxes.

I'm looking for a way to pass selected row IDs from one grid to another almost identical grid in a separate MVC view. Each time the desired rows have been selected followed by pressing the 'Show selected IDs' button, the IDs of the selected rows are to be sent to another view containing a grid of Products with a few additional columns. How can I send those IDs back to a controller and display the corresponding rows in the second grid?

For the second part of my question, I want to have a field called ViewCount that keeps count of the number of times a row has been selected. Based on the previously mentioned action of selecting rows and clicking a button, I want to then increase the ViewCount by 1. Is it possible and how can I go about doing that?

My thinking is that both events could be bound to the following function:
$("#showSelection").bind("click", function () {
        var checked = [];
        for(var i in checkedIds){
            if(checkedIds[i]){
                checked.push(i);
            }
        }
        //Code goes here
    });
});
Any help would be much appreciated. Thanks!
Vladimir Iliev
Telerik team
 answered on 26 Dec 2013
1 answer
102 views
I understand a dynamic number of data series is not currently supported by Kendo but does anybody have an example of something like this being done? 

I'd like to be able to load a chart with a defined number or series but fill out the series using the read function. The problem I end up having is that I do not know the number of series until the user tries to load the page. IE: One use could open a chart using a query that has two series while another could do the same but using a query with 3 series. Since that's the only real differences in the two charts I'd like to use the same view. I know I can do this on the page load but I'd like to use the read function of the dataSource as that seems to give a better user experience. Currently I'm using the MVC helpers but I'm not married to that approach and have no problem building some or all of the chart or it's data with the javaScript functions.
Petur Subev
Telerik team
 answered on 26 Dec 2013
1 answer
51 views
I use a Bar Charts / Multi-axis, and there is a problem that i can not get the node of line chart, any suggestions will be appreciated
Hristo Germanov
Telerik team
 answered on 25 Dec 2013
1 answer
79 views
I encount a problem , the last number of  amount sink,  see attachment for detail, any suggestions will be appreciated
Hristo Germanov
Telerik team
 answered on 25 Dec 2013
3 answers
429 views
The Roadmap for November states that there's is now support for multi-selection without closing the popup. How do i turn that on?
Dimo
Telerik team
 answered on 25 Dec 2013
1 answer
82 views
hi.

 I need to know what is the criteria by which the  sheduler orders the  tasks.
i need that the task that is at first on the day module is the same that comes first in the module month

see attachment files

Thanks.

Alex Gyoshev
Telerik team
 answered on 25 Dec 2013
1 answer
739 views
Hi,

I am using Kendo UI Complete v2013.2.918.  I have to convert the date column data into the language specific date format which is based on browser's "Language Preference"  and i have to show the dates in customized filter menu in the same format.

Please suggest a way to achieve this.

Thanks,
Raj
Dimo
Telerik team
 answered on 25 Dec 2013
5 answers
98 views
Hello,

I' ve tried to set up a tooltip for an stacked area and stacked line (lines for comparison) chart.
From my point of view the categoryaxis crosshair tooltip would be great for showing details of chart data, because there is the vertical crosshair, which shows all datapoints.

  1. But the only thing you can show in this tooltip is the category value. Does this make sense? This value is shown at the bottom of the chart. Why can't I access all the dataItems?
  2. Why can't I change the relative position of all of the tooltips to the mouse pointer? On my chart the tooltip (standard for all the chart) now hides the points of interest, because it is just to the right of the mouse pointer.
  3. The most 'datafull' tooltip ist the standard, but this one jumps an falls to the nearest point of data on moving the mouse pointer.

What I'd like to suggest is to build a general purpose tooltip (templates are cool!), that:

  1. can access all data (especially dataItems) so you can provide additional data that is only used on tooltip
  2. can be positioned:
  • at a static point, static X or Y value or
  • relative to the upper left corner of the chart or
  • relative to the mouse pointer

Did I miss any feature or ist there no way to achive my goals (poitioning and showing all data) at this time?

Best regards
Dirk

Alex Gyoshev
Telerik team
 answered on 25 Dec 2013
1 answer
49 views
I posted the full question on StackOverflow, but have not gotten any answers.  Trying the premium forums now.  Link:
http://stackoverflow.com/questions/20687565/kendo-window-change-scrolling-to-have-static-update-cancel-buttons
Alex Gyoshev
Telerik team
 answered on 25 Dec 2013
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?