Telerik Forums
Kendo UI for jQuery Forum
1 answer
275 views

Is it possible to directly edit the formatting of the default Excel output from the Treelist widget? Currently I am using a datasource export function to create my Excel document, however I am unable to sort the list exactly the way it appears in the widget itself without iterating through the entire datasource to sort and format as needed.

Specifically, I need to have parent items bolded with a blank line above to show grouping. Child items are displayed under parents with no blank cells tabbing the document over.

Stefan
Telerik team
 answered on 15 Sep 2017
3 answers
495 views

Hi , I have model  with iterating items to show the list of items and I want to show tooltip for each item description. Please help me. 

below is the code snippet.

 

 </tr>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    <ul class="single">
                        <li>
                            @Html.ActionLink(item.Name, "LoadValue", "Category", new { item.BusinessId, ViewBag.Environment }, null)
                        </li>
                    </ul>
                </td>
            </tr>
        }

 

 

I am new to Kendo. and am confused how to bind the tooltip  for each item here.

Stefan
Telerik team
 answered on 15 Sep 2017
2 answers
145 views

I'm looking for a way to clear my kendo grid which is using remote odata service. I know that I can call dataSource.data([]) when I'm using local data (i.e. setting dataSource.data config property), but I can't understand how to do the same thing using remote data (i.e. using data.transport). Any suggestions?

The only way I've found is to conditionally call options.success({empty odata response object}) in your transport callback. But the problem is that such empty object contains @odata.context property which is dynamically generated on the service side and I'm not sure where it is used by kendo or it is'nt.

Andrey
Top achievements
Rank 1
 answered on 14 Sep 2017
2 answers
281 views
I have a grid and am using the default style on it however cannot get the arrows for filters, groups, pages etc to appear. I am loading all of the images from the 'Default' image directory and all of the css files. Is there a particular set of files that I should also add in to get the arrows to appear? I can't find any in the download archive at all.
Stefan
Telerik team
 answered on 14 Sep 2017
0 answers
553 views
The dropdown element closes when the space key is hit when searching in the filter textbox. 

In order to overcome the issue, use the following workaround:
 
<script>
  var keyDown = kendo.ui.DropDownList.prototype._keydown;
  kendo.ui.DropDownList.prototype._keydown = function (e) {
    if (e.keyCode === kendo.keys.SPACEBAR && this.filterInput[0] === document.activeElement) {
      return;
    }
    keyDown.call(this, e);
  }
</script>


The bug is already fixed and it will be available with the first internal build after the official R3 2017 release.

GitHub issue logged:

https://github.com/telerik/kendo-ui-core/issues/3583
Kendo UI
Top achievements
Rank 1
 asked on 14 Sep 2017
2 answers
430 views

I have a grid pop-up editor defined, which uses a numeric textbox. I'm trying to get this to show only integers, but I'm not having any luck.
From other forum posts, data-format="0"  should work, but this breaks the grid, with an 'e.slice is not a function' error.
Currently it is defined as:-

<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-spinners="false"  data-decimals="0"/></p>

 

This works fine, except shows two decimals.

If I change it to:-

<p><label>Year:</label><input type="text" name="Year" data-type="number" data-bind="value:Year" data-role="numerictextbox" data-format="0" data-spinners="false"  data-decimals="0"/></p>

 

The grid stops working, and the error is raised.

How can I get it to work?

AP
Top achievements
Rank 1
Iron
Iron
Veteran
 answered on 14 Sep 2017
4 answers
214 views

In bootstrap a project I have used kendo.all.min.js. However, for a couple of selected pages I only need MVVM Integration so I figured I will setup the pages using kendo.all.min.js (https://github.com/telerik/kendo-ui-core).

I include: kendo/kendo.common-bootstrap.core.min.css and /kendo/kendo.core.min.js but the code below gives me the following error: Uncaught TypeError: kendo.observable is not a function

 

What am I doing wrong?

 

<div id="app">
    <div data-bind="html: test"></div>
</div>

<script type="text/javascript">
    "use strict";
    var viewModel = kendo.observable({
        test: "<span class='label label-success'>test</span>"
    });
    kendo.bind($("#app"), viewModel);

</script>

 

 

Preslav
Telerik team
 answered on 14 Sep 2017
2 answers
519 views

Hi! I'm using a tiny REST api as the grid's data source. For the API its perfectly fine to return a 404 error if data isn't found, but the grid automatically handles this like a regular error (say, like a 500), instead of letting me handle it through the noRecords template (which is called fine if I return an empty collection instead of a 404 in the API).

How can I handle 404s like how the grid handles empty collections with the noRecords template? 

Miguel
Top achievements
Rank 1
 answered on 13 Sep 2017
2 answers
280 views
 Hi! Kendo UI for Angular 2 sounds really nice, are you planning on having a "core" edition later down the road? (ie, Apache licensed, without the commercial features and widgets, like https://github.com/telerik/kendo-ui-core).
Miguel
Top achievements
Rank 1
 answered on 13 Sep 2017
2 answers
174 views
Hello,
           I am using .NET MVC project.  I have External MVVM template. I am using for , autocomplete, . I want to know how can make shared templates and can load multiple templates at  use load respected with their templates and editor templates?
Ianko
Telerik team
 answered on 13 Sep 2017
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?