Telerik Forums
Kendo UI for jQuery Forum
3 answers
137 views

The pointers property is not part of the typescript definition: 

 

gauge.pointers[0].value(100);

 

Why not?

Dimiter Madjarov
Telerik team
 answered on 06 Nov 2015
1 answer
126 views

Hi Folks,

I currently have several grids with "Add Row" and "Duplicate Row" buttons. The problem is that the new rows may introduce validation errors in the new model. For example, a required field may be empty, or a field's value may be duplicated (an error in some of our grids). There may even be errors in several rows (e.g. after adding several new rows). I currently have implemented a custom validation that is called on "change" that adds classes and data fields to table cells to make them highlight problems. My approach is similar to the one suggested here (add custom css directly to td cells that violate validation) :

http://www.telerik.com/forums/validation-on-grid-edit---close-cell-with-message

But the problem is that if any more rows are added, removed, etc., the custom formatting disappears. Is there a way to keep the custom css state of cells across grid refreshes? 

Thanks!

 

-Henry

Georgi Krustev
Telerik team
 answered on 06 Nov 2015
1 answer
263 views

Hi,

I wrote a custom directive that wraps the kendo ui kendo-date-picker directive. The directive adds logic to create a custom footer. In my Jasmine tests, I am unable to trigger a click event on k-i-calendar span, because it is not visible in the DOM. I want to trigger the click to inspect the calendar widget and determine if the custom footer has been applied. Based on the attached screen shot, it appears the kendo-date-picker directive has been compiled because the element has been decorated with new attributes, however, it is missing the wrapping elements that I observe kendo in my application. 

 

1) Is there a way to programatically open the calendar widget without relying on click events?

2) Is the kendo-date-picker widget responsible for wrapping the input element in additional elements?

 

Thanks

Atanas Georgiev
Telerik team
 answered on 06 Nov 2015
2 answers
188 views

Is there any known examples of how to export a detail grid created with Angularjs as in the 

 http://demos.telerik.com/kendo-ui/grid/angular  example?

A simple implementation example for this would go a long way in understanding (or how to modify the code below).  

 I've attempted to use the detailGrid export code from here:

http://docs.telerik.com/kendo-ui/web/grid/how-to/excel/detail-grid-export 

but have not had much success.

 

 

Alex
Top achievements
Rank 1
 answered on 05 Nov 2015
1 answer
96 views

Hi,
The Nova theme ​is not ​loading correctly on this site. Here's the error ​I am getting: Unable to get property 'chart' of undefined or null reference

Thanks,
​Morten

Atanas Georgiev
Telerik team
 answered on 05 Nov 2015
2 answers
1.8K+ views
When I set the cell disable property to true the disabled attribute on the TD HTML element does not get created.
var grid = $("#" + GRID).data("kendoGrid");
var gridRow = grid.current().closest("tr");
gridRow.cells[0].disabled = true;

If you look via the debugger the cells disabled property is set to true after the above code is executed however the TD table element for the cell does NOT contain the disabled class/attribute, hence it is not rendered as disabled.

How do you disable a cell in the grid using javascript after the grid has been initially rendered?
Jacques
Top achievements
Rank 1
 answered on 05 Nov 2015
2 answers
206 views

Hi,

i need help.

I have a dynamically created website with a textarea ...

<textarea id="input_551_702_O2050_702" data-bind="value: values.input_551_702_O2050_702.current" class="k-textbox" style="height: 114px; width: 300px;"></textarea>

 

and a viewmodel.

I try to bind a value

"Praxis\r\nDr. Eugen Knollmüller\r\nDr. Eugen Knollmüller jun.\r\nDr. Sandra Knollmüller"

which works.

How do i get linefeeds in my textarea.

I tried <br\>, \n, \r\n .... but the textarea always show the correct value ... but no linefeeds.

the hole viewmodel is also dynamically generated.

.....

$(function () {
...

   lecore.page_510.viewModel = kendo.observable({
        values: { 
         .....
               input_551_702_O2050_702: {
                       initial: 'Praxis\\r\\nDr. Eugen Knollmüller\\r\\nDr. Eugen Knollmüller jun.\\r\\nDr. Sandra Knollmüller',
                       current: 'Praxis\\r\\nDr. Eugen Knollmüller\\r\\nDr. Eugen Knollmüller jun.\\r\\nDr. Sandra Knollmüller',
                       refObject: 'O2050'
            }
         ....
...

Regards

 

Jürgen

Juergen
Top achievements
Rank 1
 answered on 05 Nov 2015
1 answer
248 views

Hi, Please read this discussion http://stackoverflow.com/questions/22299091/kendo-web-ui-performance

and advise why there is a serious performance problem when initializing KendoDatePicker and KendoNumericTextBox (and may be all other widgets) inside a form (html form tag)?

Also pls advise what is the recommended way to handle such scenarios?

Thank you.

Georgi Krustev
Telerik team
 answered on 05 Nov 2015
3 answers
343 views

Hi,


We have the following problem. For some reason when we use HTML input with type "number" on a real device (not a web browser), deleting the minus sign results with an input element that shows the user a number while the value of the input element is empty string.


Kendo validator is attached to this input element, but we are not certain the problem has anything to do with the validator. We think it might be because there is shadow-content associated with the element on mobile devices.

The attached screens demonstrates the issue: in number-input-before-delete-minus-sign-GOOD.PNG you can see the input value right after we entered it and the minus sign was added correctly by code (*-1); in number-input-after-delete-minus-sign-BAD.PNG you can see that after manually removing the minus sign from the input field by the user, testing the input value shows empty result. The screens were taken from iPhone 5s running iOS 8.4.1 but the same problem occurs in other devices (other OSs) as well.

We created the following Dojo with which you can experience the problem: http://dojo.telerik.com/opiNA/5
Dojo instructions: Enter a positive number (e.g. 3); Click the test value button - you will see the element value is -3 as expected, because the code takes the original value and multiply it by -1 . Now Delete the minus sign. You would expect the test value, which simply shows the element value, will show you 3. But it will show you nothing. For some reason the value became an empty string even though we can still see the value in the HTML element.

Any idea how we can handle this issue?


Thanks,

 

Ron.

Vladimir Iliev
Telerik team
 answered on 05 Nov 2015
1 answer
107 views

Hi,

Is there any restrictions in angularjs data bindings (one way & two way) when using the Kendo ui jquery controls. Does all the Kendo ui controls support both these bindings when used with angularjs implementation?

 

Regards

Rich

Sebastian
Telerik team
 answered on 05 Nov 2015
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?