Telerik Forums
Kendo UI for jQuery Forum
1 answer
355 views
Hi

How can I display more (all available) columns from the database in my edit windows than I show in my actual table?

Here I have taken a template. I have uncommented the column "Units In Stock", how can I display this in the edit window but keep it out of the normal table?

http://jsfiddle.net/8ythhp1r/

Thanks
Alexander Valchev
Telerik team
 answered on 07 Jan 2015
1 answer
355 views
Hi!

It seems there is an issue with clipping message if you stack message of differently widths. Example: http://dojo.telerik.com/@pgresham/eLEMe

Is there an option that I'm missing or is this a bug or am I doing something wrong. :)

Thanks,
Patrick
Dimo
Telerik team
 answered on 07 Jan 2015
5 answers
400 views
Hi

How can I fix the scrolling behavior in the following example:

- open http://dojo.telerik.com/IPEQe/2
- make sure the screen is small enough so you have to scroll to go to the 'Order Date' 
- select a date in date picker which does not match for any of the rows
- apply

> The table will be scrolled to the left.

This also happens  if you use a text filter and have no matching rows. But especially for dates it is not usable if you have more than 10 or 15 columns. The problem is that you usually select a date first and then choose if it should be 'before' or 'after' or 'equal to' that date. By the strange scrolling, the user loses the focus and will have to figure out again where the filtered column is.

Regards
Philipp







Dimo
Telerik team
 answered on 07 Jan 2015
3 answers
221 views
I'm working on a system that involves uploading directly to Google Cloud Storage with signed URLs, a process that seems to only work correctly when PUTing, not POSTing.  Is it possible to configure the Upload widget to use PUT instead of POST?
Dimiter Madjarov
Telerik team
 answered on 07 Jan 2015
1 answer
301 views
I have a tree where I know the first level of nodes, and want to load dynamically children of those nodes.

How can I create a DataSource based on local data, and not have to define IDs manually? It seems that IDs are mandatory for loading further remote data.

I'm coming from Webix, where you can simply write:

webix.ui({
    view: 'tree',
    data: [
      { value: 'Programs',
      }, {
        value: 'Governance',
        data: [
          {value: 'Regulations'},
          {value: 'Policies'},
          {value: 'Standards'}
        ]
      }
    ],
    on: {
      onItemClick: function (nodeId, el) {
           // nodeId is defined (automatically generated)
        
var node = this.getItem(nodeId);
        // will output the text of the clicked node
        webix.message(node.value);
           // load children of node.value via AJAX here...
      }
    }
});

With Kendo UI, if I don't define IDs, it seems there's no way to distinguish in the transport.read function between returning the first-level nodes from the local data, and loading child nodes of one of the first-level nodes:

var myHDS = new kendo.data.HierarchicalDataSource({
    transport: {
        read: function (options) {
            if  (!options.data.id) {
                options.success([
                    { ... hard-coded local data for the first level of nodes
                             ... must hard-code IDs?
                    }
                ]);
                return;
            }
                // must have an id here
            var node = myHDS.get(options.data.id);
            // load children from the sever via AJAX call
Alex Gyoshev
Telerik team
 answered on 07 Jan 2015
3 answers
337 views
I know that Kendo UI doesn't currently provide any way to toggle automatic rotation of category labels (for the line, column, etc. charts that have a category axis). What I'm mostly interested in is some direction on where I should focus my efforts in the source code if I want to try to add this functionality myself. I primarily use the ASP.NET MVC wrappers, but I assume there would be some endpoints I would have to tweak or add to make this work.

I am aware that I can trim the labels; that unfortunately doesn't always work (nor does it often look all that good for my use-cases). The step option also doesn't get me what I need. I *could* manually calculate a rotation angle if I were binding to data on the server end, but that causes the view in which these charts are used to load somewhat slowly (some of the charts are driven by aggregate data that I don't control).

By way of example, the Chart.js library already does this: http://www.chartjs.org/docs/#line-chart-introduction (if you set a narrow viewport, you can see the labels rotate).
T. Tsonev
Telerik team
 answered on 07 Jan 2015
2 answers
305 views
Hello I want to ask you how I can localizate kendo UI gantt to Bulgarian . I read documentation but I can't find anything which help me. I try with "kendo.messages.bg-BG.js" but it translate only buttons but not date.

Thank you previously !
Konstantin
Top achievements
Rank 1
 answered on 07 Jan 2015
0 answers
105 views
Hi there

This is more a kind of bug, but I found no way to create a ticket....

I'm using the multiselect widget to let the user select multiple or all persons. We're talking about around 300 - 400 entries. In some cases all persons need to be selected. So I get all the data items and set them with the value() method on the widget. But this takes "ages" (2-3 sec) and even leads to no responding script error on some computers. Firebug profiler revealed, that about half of the needed time is consumed by the _select() method of the multiselect better said, its "that._height(that._visibleItems);"  line. If I move this line to the value() method and insert it after the select loop, the time consumption drops by more than half.

I don't see a reason why the height needs to be calculated on every loop step. But this is probably needed in some other cases. Still I would recommend to make this more streamline by calculating the height after value setting has completed.
Lala
Top achievements
Rank 1
 asked on 07 Jan 2015
8 answers
1.2K+ views
Hi,

I used method append to add new node to selected node:
treeview.append(
   {
       text: $("#text").val()
   },
   selectedNode
);

But how can I append node with ID?
somethings like:
treeview.append(
   {
       text: $("#text").val(),
       id: "some id"
   },
   selectedNode
);

thanks,
Thai.
Steve C
Top achievements
Rank 1
 answered on 06 Jan 2015
2 answers
1.0K+ views
How can I have both custom and excel and pdf toolbar together?  Thanks.

toolbar: kendo.template($('#toolbar-template').html()),

toolbar: ["excel", "pdf"],
Bertha
Top achievements
Rank 1
 answered on 06 Jan 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?