Telerik Forums
Kendo UI for jQuery Forum
3 answers
75 views

Hi all.

 Quick question... is there a way to have it working on mobile (android).

 If I create <select> with couple <option> elements and i call $("#myDiv").kendoDropDownList(); whole app freezes and no content is shown (on document ready).

 Thanks

Georgi Krustev
Telerik team
 answered on 20 Apr 2015
3 answers
1.3K+ views
How would I remove all the children of the selected node ?

on treeview node select
   window.selectedNode = $(e.node);

on menu button 'remove children' click
   uiTreeview.remove(window.selectedNode) ; // removes node and children, want to remove only children

Garry
Top achievements
Rank 2
Veteran
 answered on 19 Apr 2015
3 answers
486 views
I know that I can use the change event to know when the editor loses focus after content changes. I need to be able to know when the editor loses focus, even if the content has not changed.

Is there a way to do this?
Iliana Dyankova
Telerik team
 answered on 17 Apr 2015
1 answer
137 views

Hello everyone,

 

I am having an issue and I am attempting to  fix it with a different strategy.  SO first I will explain my issue and see if anyone has an answer.  THen I will explain my idea for a work around and see if anyone can get me going there.

 

The issue: 

I have a grid with a detail grid in each row.  Basically it is a list of employees with data concerning that employees goals in the detail grid.  This all works great.  Data is there everything is solid.

The detail grid are grouped programmatically by a "goal type" column.  Again, this all work perfectly.

Here is where it gets wonky. If I export to pdf the entire structure is pristine.  Looks exactly as it does on the web page.

However,  If I export to Excel things start to get screwy.  The "parent" grid rows are there but they have a header...which is ok, but then sometimes the detail grid information is where it should be and other times it is pushed down under the wrong employee name.

Before anyone asks I am using the promises and the prevent default to make sure the data is filled before saving, as shown in all the examples.

I am pretty sure it is an issue with the grouping inside the detail grid.  If I remove it then the excel document is perfect...other then not being grouped.

 

My ideas and request for strategies and or input: 

My first idea is this.  Is there any way to remove the grouping on the detail grid programmatically before I save the excel doc and have the managers who are exporting just create their filters on their own.  This is not ideal but I think it could work.

 

My second idea and I think it is a much better one is to export each employee and their data on a different sheet/tab within the workbook.  Similar to this example.

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

I have no idea how to do this in the context of the parent grid and the detail grid.  The example shows two "parent" grids on one page not grids within grids.

 it would have to be a loop or another set of deferreds and promises but I need some input here.

 

Any help would be appreciated.

Chris
Top achievements
Rank 1
 answered on 17 Apr 2015
1 answer
115 views

Hi there,

I used a custom tooltip as well as a custom editor in accordance with the documentation. (at least I hope I interpreted it the right way ;-) )

 

The problem is that the dropdown for the owner resource opens in the background of the editor window:

http://dojo.telerik.com/URuqU

 

Could you give me a hint how to fix that?

 

br, Chris

Vladimir Iliev
Telerik team
 answered on 17 Apr 2015
4 answers
850 views
Hi,

I have a grid that is bound to an array within a complex type. Whenever I change a value (I use inline editing), a red triangle appears in the upper left corner. I have to read() the grid datasource and refresh the grid to get rid of it.

What makes this triangle appear? Is there a way to avoid it?

Thanks,

Alex
Dimo
Telerik team
 answered on 17 Apr 2015
1 answer
162 views

In the demo of stack bar charts the data is ordered gold/silver/bronze.
Is there a way to customize the display for some years to display bronze/silver/gold and others gold/silver/bronze?

 I need to update the display order of the bars for a scenario I have. The display order will be determined by a rank calculation at run time.

http://demos.telerik.com/kendo-ui/bar-charts/stacked100-bar

 

Iliana Dyankova
Telerik team
 answered on 17 Apr 2015
1 answer
321 views

We are using Kendo 2014.3.  We have a stacked bar chart which is working fine, with the value axis along the bottom.  We would like to be able to set the grid lines to a different interval, which should be possible now using the Step method.  However, when I try to set Step for any of the value axis elements, it causes that element to disappear.

Here's a slightly simplified version of the Razor view I'm using:

    @(Html.Kendo().Chart<ProjectChartDataPoint>()
          .Name("ProjectChart")
          .SeriesDefaults(z => z.Bar().Stack(true).Gap(0.5))
          .Series(series =>
          {
              foreach (var color in Model.Colors)
              {
                  ProjectChartColor color1 = color;
                  series.Bar(Model.DataPoints.Select(p => p.ColorPoints[color1])).Color(color1.toString());
              }
          })
          .CategoryAxis(axis => axis.Categories(Model.DataPoints.Select(p => p.Name)))
          .ValueAxis(vaxis =>
              vaxis
                .Numeric()
                .Title("% of budget")
                //.Labels(labels => labels.Step(20).Visible(true))
                //.MajorTicks(ticks => ticks.Step(20).Visible(true))
                //.MajorGridLines(major => major.Step(20).Visible(true))
                //.MinorTicks(ticks => ticks.Step(10).Visible(true))
                //.MinorGridLines(minor => minor.Step(10).Visible(true))
           )
          )

If I uncomment the MajorGridLines line, or any of the others in the value axis, then instead of the interval changing, the grid lines or ticks or whatever disappear entirely.  We have a line chart where this is working fine.

 

Iliana Dyankova
Telerik team
 answered on 17 Apr 2015
1 answer
103 views

Hi,

I will be referring to the following example in my question: http://demos.telerik.com/kendo-ui/grid/editing

There are two validations: Product Name and Unit Price are both required.

When adding a new row, automatically the Product Name field shows a message that this field is required. If user supplies a product name and then moves on to add a new row, edit another row, etc., the Grid doesn't show a message that Unit Price is required, unless user clicks on the Unit Price cell.

 Is there a way to prevent user from adding new rows or editing other rows, before filling in all required data for a row?

 

Thanks

 

Alexander Valchev
Telerik team
 answered on 17 Apr 2015
1 answer
712 views

Just as we can access "value" in groupHeaderTemplate, is it possible to access "value" (essentially the column value) from the group footer template.

For example: in the group header template we have something like:

<script id="productCodeTemplate" type="text/x-kendo-tmpl">   
    # var product = value; productArr = product.split(";"); #
</script>

so can we do "var product = value" in the group footer template as well? since when i try this it does not work (says value is not defined)

 

Kiril Nikolov
Telerik team
 answered on 17 Apr 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?