Telerik Forums
Kendo UI for jQuery Forum
1 answer
287 views
Hello.

I have stumbled upon a problem when trying to format numbers which are in E notation with very large exponents.

Please look at the example below where the first number is correctly formatted while the second one produces an exception.

kendo.toString(5e15, "#,0.00")
"5,000,000,000,000,000.00"
kendo.toString(5e25, "#,0.00")
RangeError: toFixed() digits argument must be between 0 and 20

Same behavior can be observed for negative exponents:
kendo.toString(5e-20, "#,0.00")
"0.00"
kendo.toString(5e-21, "#,0.00")
RangeError: toFixed() digits argument must be between 0 and 20


I believe the problem is in your round function where it is returning "value.toFixed(precision);" The native Number.toFixed function appears to be limited to a maximum of 20 digits which makes formatting of above numbers break.

Could you please implement a fix which removes this limitation?


Thanks.


Kiril Nikolov
Telerik team
 answered on 24 Jun 2014
3 answers
536 views
Good afternoon all,
The KendoUI Validator as it stands is not very powerful. We have the scenario at the moment where we have two forms on the same page. We want to have on blur validation and on submit of a certain form then validation of that specific form only. At the moment binding the validator on document ready causes the other form to also validate even if it's not the one getting submitted. Is there a way to fix this or at least disable the validator on focusout of the form or something? 

In general the validator misses a lot of configuration options (auto validate, etc), event hooks (before validate triggers, on blur validation, etc) and methods(validate specific rule, disable, enable, showMessages, focus on first error of form, etc).

Looking forward to your responses!

Thanks
Kiril Nikolov
Telerik team
 answered on 23 Jun 2014
2 answers
201 views
Hi there,

trying to hide the grid header completely (.k-grid-header) via a custom directive, but some how the k-grid-header is not available when the directive compiles. what could be the reason? and clues guys?

app.directive('ngHideGridHeader', function ($parse) {
    return function (scope, element, attrs) {
        $(element).find(".k-grid-header").hide();
    }
});
 
<div kendo-grid="grid" k-options="gridOptions" ng-hide-grid-header></div>
Zhonghai
Top achievements
Rank 1
 answered on 23 Jun 2014
1 answer
161 views
Hello there,

for exersises and a first look on KendoUi-mobile, i downloaded the demo app "Kendo-mobile-Sushi" from GitHub.
All works fine, till...
In the MVVM example I updated all the CDN references from
... http://cdn.kendostatic.com/2014.1.226/...
to the last one
... http://cdn.kendostatic.com/2014.1.528/... (this is the Version i get in de DevCraft-Complete Package)

After that, the app stops working properly. The same problem exists at the online version of this sample at:
demos.telerik.com/Kendo-ui/mobile-apps/sushi

Problem:
You can choose only on type of item for placing in the cart. No other will be added. After changing the view away from the choose-item-view (e.g. the cart) an the back to the choose-item-view, you can add another type of item to the cart. But again, only one new type of item.

You can check this Problem on the online version (link above).

Any ideas?
Petyo
Telerik team
 answered on 23 Jun 2014
1 answer
164 views
I have a page where Kendo Ui Grid runs in an Iframe with MS CRM 2013 and the Kendo Ui Web Inspector goes just blank. It seems to detect that Kendo Ui is running but seems to be unable to find it hence the usual error message does not show up and instead the Kendo Ui Web Inspector shows nothing at all.
Sebastian
Telerik team
 answered on 23 Jun 2014
8 answers
496 views
Hi, i'm a novice with kendo and grails, sorry if i make a dumb question

I want to use a remote datasource for the resources in the scheduler, and i have this:

        resources: [
            {
                field: "roomId",
                name: "Rooms",
                title: "Room",
                dataSource: {
                    type: "json",
                    transport:
                    {
                        read: {
                            url: "${createLink(controller:'panelControl', action:'getResources')}",
                            dataType: "json",
                            type: "GET"
                        }
                    }

And, in my controller i have this:

def getResources = {

   def map = [text:"Gromit", value:1, color:"#f58a8a"]

   return [myStringArray:map] as JSON

 }


When i run mi app, i have a 404 error: 
The requested resource (/ReservaYJuga/WEB-INF/grails-app/views/panelControl/getResources.jsp) is not available.

If i change my controller to render the view, doing something like that:

def getResources = {
def map = [text:"Gromit", value:1, color:"#f58a8a"]
render map as JSON
}

I get this: 
{"text":"Gromit","value":1,"color":"#f58a8a"}


Can somebody help me?

Thank you!




Vladimir Iliev
Telerik team
 answered on 23 Jun 2014
3 answers
115 views
Hi:

You have updated the Widget Api documentation and it has gone from just OK to worthless.

Phil
Kiril Nikolov
Telerik team
 answered on 23 Jun 2014
1 answer
302 views
I am attempting to set the business hours for each individual day. I imagine that I'd have to create a custom view, but I am not sure where to start that exactly.

Thanks.
Vladimir Iliev
Telerik team
 answered on 23 Jun 2014
3 answers
629 views
Hi

I am looking for some demo to customize the tabs like a wizard to move from one tab to another tab.

with a back and next button below of all the tabs to move from one tab to another and by disabling the Tab select or click directly by users on the top.

Thanks,
Chatrapathi chennam
Dimo
Telerik team
 answered on 23 Jun 2014
1 answer
182 views
Hi,
I'm hoping to find a way to keep styles on Html that is pasted in to the editor. It also loses some part of image.

Here is a short video: https://www.youtube.com/watch?v=qZq5LxoTCbo

Please let me know if there is a tip or workaround to this.
Thanks
Alex Gyoshev
Telerik team
 answered on 23 Jun 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
Drag and Drop
Map
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
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?