Telerik Forums
Kendo UI for jQuery Forum
1 answer
246 views
I have a simple grid that contains a column designated to allowing the user to browse to a directory using the default file chooser. This column is instantiated by the following command, and appears properly when the page is rendered:

(note: this grid has been isolated down to just the problem column. testData is just an array of a few rows of example data.)
$("#grid").kendoGrid({
    dataSource: {
        data: testData,
        pageSize: 10
    },
    groupable: false,
    sortable: false,
    pageable: {
        refresh: true,
        pageSizes: true
    },
    columns:
    [
 
       {
           field: "FileName",
           title: "File Name",
           template: "<input id='f', type='file' />"
       }
    ]
});
As shown in the code, the input type of is "file," which defaults to a textbox/browse button that opens a file picker window. I decided to use this instead of writing one on my own. The menu button that generates a new row is created with this code:
<div id="menuTest">
    <ul id="menu">
        <li onclick="javascript:$('#grid').data('kendoGrid').addRow()"><img src="Images/help_videos_16x16.png"/>New</li>
    </ul>
</div>

 When the button is clicked, a new row is successfully generated. All of the columns show up properly, but the FileName column shows up with a large white textbox instead of the gray box/browse button that is shown on the initial render. It also will not allow me to spam the new button, because in order for another new row to be generated, some sort of data has to be entered into the blank textbox (it can be a string, int, char, whatever). This data then disappears, and it defaults to the gray textbox/browse button after the new button is hit again. 

Attached is a series of screenshots of me stepping through the UI. The screenshots show:
1) The column on the initial render
2) The column after "new" is hit once (showing the large blank textbox)
3) The column after hitting "new" again (without entering anything into the textbox)
4) The column after entering a string into the white textbox and then hitting "new" again. Note that this brings us back to image 1, only with a new viable row added.

Is there a way to alter my code to prevent the white text box from appearing? Perhaps I need to assign some sort of default value, or should I scrap this approach?
Vladimir Iliev
Telerik team
 answered on 22 Jul 2013
5 answers
220 views
I have chart that all values are integers. It display labels well when value is quite big. e.g. it display 2,4,6,8,10. So it calculates vaues nicely. But with small values on report e.g. 1, 2, chart display also values like 0.5, 1.5, 2.5
I would like to ask how to set chart to set minimal possible gap would be e.g 1.
Iliana Dyankova
Telerik team
 answered on 22 Jul 2013
1 answer
135 views
I need to show confidence intervals on a chart that is showing some forecasts (80% and 95% intervals). Something like what can be done with the Percentiles plugin for Flotcharts (http://www.flotcharts.org/flot/examples/percentiles/index.html).

Is there any way to do this using DataViz (aside from drawing 5 separate line series)?

Cheers,
James
Iliana Dyankova
Telerik team
 answered on 22 Jul 2013
1 answer
275 views
The Kendo Mobile Q2  2013.2.716 release includes drastic changes to the km-loader for iOS. There is no longer the translucent, black rounded-corner box with a white spinner KendoUI font. Now the entire screen is slightly dimmed with a gray progress indicator and is not very visible when an app uses dark styles. The markup has also changed from previous versions.
<div class="km-loader" data-role="loader" style="display: none;">
  <span class="km-loading km-spin"></span>
  <span class="km-loading-left"></span>
  <span class="km-loading-right"></span>
  <h1>Loading...</h1>
</div>
Here are my style overrides for the new classes to display a white spinner and text. Is there a setting to do this otherwise or better yet use the previous loader styles in the new release?
.km-ios .km-loading { background-color:#FFF }
.km-ios .km-loader .km-loading-left { background-color:rgba(255,255,255,0.55) }
.km-ios .km-loader .km-loading-right { background-color:rgba(255,255,255,0.2) }
.km-ios .km-loader h1 { color:#FFF; text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8); }
Kamen Bundev
Telerik team
 answered on 22 Jul 2013
1 answer
42 views
Go to the demo site http://demos.kendoui.com/web/grid/index.html, drag two columns for grouping and collapse all items.
The second group shifts to the right in IE9. Have to put it in compatibility mode for it to work.
Please provide a workaround or a fix for this.
Thank you.
Petur Subev
Telerik team
 answered on 22 Jul 2013
2 answers
281 views
So for those of us like me who might want to just try this thing out as a FullCalendar.js replacement (just viewing a month of events at a time, no edit feature, purely just displaying information

Umm seems that the scheduler doesnt actually let you turn editable off.

I didnt set any update/remove transport paths, etc. but I would assume that by turning editable off the user would lose the ability:

 to delete the item
drag items around the calendar
open the edit window (maybe theres a secondary window that just lets you view the information)

my assumption of course is, if we have the ability (at least in writing) to turn off the editability of the controller, that it should show that and not let people try and delete items?
James Hood
Top achievements
Rank 1
 answered on 22 Jul 2013
1 answer
261 views
I currently have a grid that is bound via an Ajax call. The model is a List<Objects> for the view. I have a button that on click I would like to pass the selected data grid object to a different controller/action. 

I have tried to do a Ajax Post however the response is HTML but it does not get rendered to the browser.

Is there an easier way to do this? 

Thanks,
Nav
Petur Subev
Telerik team
 answered on 22 Jul 2013
3 answers
376 views
We're using KendoUI v2013.1.514 and Twitter Bootstrap, and this issue seems to be noticeable in Chrome 27 (couldn't duplicate behavior in IE10). The behavior is also noticeable on your demo page at http://demos.kendoui.com/web/numerictextbox/index.html .

I have a NumericTextBox in a Kendo Window. Everything works great, except I noticed that it was difficult to click on the down arrow of the NumericTextBox. I started clicking to find where the boundary was, and as you can see from my image attachment, the pointer was many pixels above the down arrow but was still registering the click on the down arrow. What is causing the down arrow to take up so much more clickable area than the up arrow? Do I need to fix something, or is this a Kendo issue?
Dimo
Telerik team
 answered on 22 Jul 2013
3 answers
122 views
The new Scheduler looks like a great start!  There are a few features I've seen in other commercial HTML5 scheduling components that that are worth mentioning (these are de riguer to us):

  1. Exposing methods/properties for controlling background cell painting in the appointment grid.
  2. Surfacing drag/drop/hover events on an appointment that is being dragged as well as on the background grid slots.
  3. Built-in support for a secondary appointment color (e.g., a vertical bar along the left edge of the appointment) tied to a distinct property of the developer's choosing (e.g., appointment status).  This can be handled with custom templates, of course, but it comes up often enough to be useful as a built-in feature.
Also, there are a couple of bugs in the current beta version relating to appointments that subtend the midnight boundary but are less than 24 hours long:

  1.  When moving the appointment, the transparent "shadow" used to indicate the drag position has time added to the end relative to the actual length of the appointment being dragged.
  2. When dragging an appointment to an earlier time such that it no longer subtends the midnight boundary, the appointment disappears(!)
Peter
Atanas Korchev
Telerik team
 answered on 22 Jul 2013
1 answer
226 views
Hi,

I am binding a div with the property "contentEditable"=true that is bound with data-bind="html: Message".  However, it appears to be a read only property since when I make changes to the div and then move off the div triggering the blur event, the Message property contains the original value.

Am I doing something wrong or is this just the way it is designed?

Thank you,
David A.
Atanas Korchev
Telerik team
 answered on 22 Jul 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)
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
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
TaskBoard
Popover
DockManager
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
TimePicker
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?