Telerik Forums
Kendo UI for jQuery Forum
4 answers
354 views
Hi there,

I've been playing around with the Kendo UI Map, been working great so far.

Based on the example here (http://demos.telerik.com/kendo-ui/map/geojson), is it possible when a shape is part of a multipolygon to be able to have the other polygons highlighted in the shapeMouseEnter/shapeMouseEnter function.

In other words if I was to enter mainland USA with my mouse, would it be possible to trigger the highlight on Alaska and Hawaii as well?

Thanks,
Zack
T. Tsonev
Telerik team
 answered on 16 Oct 2014
1 answer
164 views
Hello,

I have a chart and grid affair that has some interactivity between them.  When the grid is moused over, it has been requested that the chart have a vertical line drawn (corresponding to a date).  Additionally, there should be a vertical drawn if a row is selected in the grid.

I thought the chart had this functionality because there is a verticalLine property.  That appears to be incorrect.

The nearest I can find to this type of functionality is the "crosshair" behavior.  But it looks to only function for mouseovers of the line.

Is there any way to get multiple vertical lines drawn client-side to overlay a line chart?  Or has there been any success customizing the "crosshair" behavior to do this, as far as you know?

Currently on: Kendo UI v2014.1.416

Thanks and Regards,

T. Tsonev
Telerik team
 answered on 16 Oct 2014
15 answers
993 views
Hi,

I have a grid which has a column for email. So I want to check if the email exists before edit or create a new one. I found that Kendo supports the ajax validation for the object Validator. But for the grid, do you have this functionality? For example, my datasource is :

var dataSource = new kendo.data.DataSource({
                        transport: {
                           ...
                        },
                        batch: true,
                        pageSize: 5,
                        schema: {
                            model: {
                                id: "id_user",
                                fields: {
                                    id_user: { editable: false },
                                    email: {
                                        editable: true,
                                        validation: {
                                            email: { message: "Email invalid" },
                                            required: true,

                                        }
                                    }
                                }
                            }
                        }
                    });


Thanks for your support

Regards
Vladimir Iliev
Telerik team
 answered on 16 Oct 2014
22 answers
1.2K+ views
How to localize Grid widget?
I need to localize strings like:

  • Drag a column header and drop it here to group by that column
  • Show rows with value that:
  • Is Equal to
  • etc.
Smitty
Top achievements
Rank 1
 answered on 16 Oct 2014
1 answer
187 views
Take the following Dojo, for example:

http://dojo.telerik.com/aCuha

I use Groupable to allow the user to "re-group" the grid based on a certain column. However, is there a way to group the grid based on a certain column by default? I really like the look and feel of the grouped grid, and it meets my clients requirements, so it would save me a lot of time.

Example: can I pregroup the Dojo above on the Contact Title column?
Robert
Top achievements
Rank 1
 answered on 15 Oct 2014
1 answer
120 views
Been at this for a bit so I'm looking for some outside help now.  The basic gist is we're using Kendo in our application but we want to create directive wrappers for each of the built in kendo directives that are provided.  This allows to override functionality and handle things how we want to in a more reusable format for our application.  That said, I am noticing some memory leak errors that I don't get when using the straight kendo-drop-down-list directive.  

The plunkr of this example can be accessed here:  http://plnkr.co/edit/SXhrkGbMnRRgDjI3v2kR?p=preview

The recreatable steps I've used is two create 2 new rows by clicking add row on the first two rows.  Click remove row on the second row twice to get back down to one row.  Take a heap snapshot in Chrome dev tools, repeat the process 2 more times, then do a comparison of objects allocated between Snapshot 1 and 2.  There is much more information still allocated and I'm kinda confused what could be holding it.

Example of the screen and leftovers can be found here too for comparison:  http://imgur.com/LcHhljq

I tried keeping a reference of the kendo-drop-down-list at one point and calling its method manually but got an error on this line of the destroy in kendo.all.js:

 that._arrow.off();

_arrow is undefined.  So I'm not sure if there's a recommended way to clean this up or this is just not supported but we really do need to have wrappers for the kendo directives to customize to our applications needs.

Any help would be great, thanks.

Andrew
Top achievements
Rank 1
 answered on 15 Oct 2014
2 answers
249 views
We are using the Kendo grid in a responsive environment and some of our grids need to allow multiple rows to be selected.  This presents a problem in mobile since there seems to be mutually exclusive behavior for multiple selection and scrolling - if you touch/drag, you will select multiple items - but then how do you scroll the grid?  Note, we are using virtual scrolling throughout.
 
Can we disable selection while scrolling? Or is there a way to have the grid allow sticky selection when in mobile (a virtual Ctrl key is always pressed when using the finger) to allow multiple selection and then the scrolling by touch/drag would work properly?  Of course, de-selection would require the user to scroll back to all the selected items and individually de-select them - which we are OK with.
 
Is this something that can be accomplished with the current kendo grid via configuration?
Is this something that can be accomplished via extending the current kendo grid?
Is this something that will make it onto the roadmap?

Ed
Top achievements
Rank 1
 answered on 15 Oct 2014
1 answer
223 views
Hi all,

I'm having some trouble getting my edit templates to work properly in a grid. I'm using 2014.2.716, testing on Chrome 38.

The DropDownList is getting the list of options just fine, but it endlessly displays the spinner on the right side, and throws this error:

TypeError: Cannot read property '$$phase' of null
    at d (http://localhost:62090/Administration/Scripts/kendo/2014.2.716/kendo.angular.min.js:9:1422)
    at Object.<anonymous> (http://localhost:62090/Administration/Scripts/kendo/2014.2.716/kendo.angular.min.js:9:6625)
    at n.(anonymous function) [as angular] (http://localhost:62090/Administration/Scripts/kendo/2014.2.716/kendo.angular.min.js:9:1867)
    at Q.extend._angularItems (http://localhost:62090/Scripts/kendo/2014.2.716/kendo.web.min.js:9:31027)
    at o.extend.refresh (http://localhost:62090/Scripts/kendo/2014.2.716/kendo.web.min.js:17:11938)
    at x.isFunction.i (http://localhost:62090/Scripts/jquery-1.10.2.min.js:21:6426)
    at n.extend.trigger (http://localhost:62090/Scripts/kendo/2014.2.716/kendo.web.min.js:9:6337)
    at ct.extend._process (http://localhost:62090/Scripts/kendo/2014.2.716/kendo.web.min.js:11:20871)
    at ct.extend.success (http://localhost:62090/Scripts/kendo/2014.2.716/kendo.web.min.js:11:17904)
    at Object.x.isFunction.i [as success] (http://localhost:62090/Scripts/jquery-1.10.2.min.js:21:6426)


Inside a "text/x-kendo-template" script block bound as the edit template for a grid, I have this:

<div class="k-edit-label">
    <label for="StateId">State</label>
</div>
<div class="k-edit-field" data-container-for="StateId">
    <input id="StateId" name="StateId"
           kendo-drop-down-list
           k-data-source='states'
           k-data-text-field="'Name'"
           k-data-value-field="'Id'" />
</div>

states is a simple array of { Id: #, Name: "" } on $scope, and the StateID field in my grid is what needs to change. I tried putting k-data-bind="value:StateId" there too, but got an unexpected token error for the ':'. 

The documentation on Angular Kendo is pretty sparse, so I'm not sure how to proceed on this. You guys should provide Angular examples alongside the ASP.NET and regular JS examples for each given demo, IMO.
Alexander Valchev
Telerik team
 answered on 15 Oct 2014
3 answers
681 views
I have a grid where the first column is a "Use Selected" button. When the grid first opens, you can click the "Use Selected" button in any row to select a specific file. However, when Groupable is enabled, if you drag a column into the top row in order to re-sort or group the data, the "Use Selected" button column no longer responds to clicks. Does anyone know why this might happen?

The image shows the first column in the grouped format where it doesn't respond to clicks.
Adam
Top achievements
Rank 1
 answered on 15 Oct 2014
1 answer
230 views
Hi,

I am using Kendodatetimepicker inside knockoutJS foreach loop. I need to pass the model or the datetimepicker current value with name or index on its change event. This scenario works with non kendo controls. In my code I need to pass testParameters or just the current row value of kendo datetimepicker from
change:function(){$parent.searchParameters($data);}

part of my code is -

<table width="500" cellpadding="5" cellspacing="5">

<tbody data-bind="foreach: testParameters">
<tr>
<!-- ko if: isDateTime-->
<td>

@*<input class="" type="text" data-bind="kendoDatePicker: {value:Datevalue, start: 'decade', depth: 'decade', format: 'yyyy', culture: Ion.options.culture, min: new Date(@DateTime.Now.AddYears(-10).Year, 0, 1), max: new Date(@DateTime.Now.AddYears(10).Year, 0, 1) }" />*@
<input class="" type="text" data-bind="kendoDatePicker:{value:DateValue , format: 'dd/MM/yyyy' , change:function(){$parent.searchParameters($data);} , id:Name}">
</td>
</tr>
</tbody>
</table>

function ReportParameterViewModel() {
var self = this;

self.testParameters = ko.observableArray([]);

self.searchParameters = function (reportParameter) {

///do something
}
}
Thanks.
Anshita
Top achievements
Rank 1
 answered on 15 Oct 2014
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
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Chester
Top achievements
Rank 1
Iron
Simon
Top achievements
Rank 1
Iron
Douglas
Top achievements
Rank 2
Iron
Iron
SUNIL
Top achievements
Rank 3
Iron
Iron
Iron
Marco
Top achievements
Rank 3
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?