Telerik Forums
Kendo UI for jQuery Forum
1 answer
794 views
Hi - we'd like to be able to set our chart titles to include fields returned from our database.  We are using JSON to get the data.

I'm not sure how to do that?  For example, in the below, I'd like to append a school name, say  "ABC Elementary" for example, to the start of the title, and have it change as our users change the school they are looking at.

Thanks
kcSchoolRiskInd = $("#SchoolRiskInd").kendoChart({
 
           title: {
               text: "School Risk Indicators",
               font: "bold 16px Arial,Helvetica,Sans-Serif"
           },
T. Tsonev
Telerik team
 answered on 08 Aug 2013
4 answers
210 views
Hello,

we have a problem with the code generated by the drop down list component, in fact, if i put a <Select> element inside a <div> and use it with the dropdownlist component, the code generated by the dropdownlist is not inside the div but at the end of the <body>

As we work on a single web page application with backbone, we have to create dynamically some views using kendo components. And each time we create a component the code generated is outside the box.

We found a workaround to fix this but we had to override so many kendo css style to make it work that this solution is not satisfying.
The workaround is to add the class name "k-group" on the <div>.

So, could you give us the best way to have the code generated by kendo components inside the html elements ?

Thanks for your support,

Best regards,

Alexis

alexi
Top achievements
Rank 1
 answered on 08 Aug 2013
1 answer
130 views
There is a how-to article which covers auto-sizing the grid to it's container's height and width:
http://docs.kendoui.com/getting-started/web/grid/walkthrough#making-the-grid-100%-high-and-auto-resizable

$(window).resize(function() {
    var gridElement = $("#grid"),
        newHeight = gridElement.innerHeight(),
        otherElements = gridElement.children().not(".k-grid-content"),
        otherElementsHeight = 0;
 
    otherElements.each(function(){
        otherElementsHeight += $(this).outerHeight();
    });
 
    gridElement.children(".k-grid-content").height(newHeight - otherElementsHeight);
});

Is this still the best method of sizing the grid in this manner?
Dimo
Telerik team
 answered on 08 Aug 2013
12 answers
218 views
With Kendo 2013.2 and Typescript 0.9
  • On line 401 there is "module binders { };" which shouldn't be there. In 703 there was a "var binders: Object;" which was ok.
Michael G. Schneider
mgs
Top achievements
Rank 1
 answered on 08 Aug 2013
2 answers
359 views
Hi,

I have a MVC kendo grid, representing a list of items, on which I use some custom commands.
I also have a invisible kendo window created which I later use to confirm the custom command.
I'd assume that if I call open() and close() on the window control, it would be on the same instance.

What I notice is that if I call the custom command on one item & but don't confirm it, and then call it for the same/another item, the event bound to the confirmation control gets called as many times as I had called the window.open() function before, without having refreshed the page. It appears that each time a new instance of the window is created & it stays somewhere in the cache

Is it possible to suppress this behaviour ? I'm attaching a small sample project to illustrate the problem I'm facing

Kind Regards

Achilles
Achilles
Top achievements
Rank 1
 answered on 08 Aug 2013
1 answer
143 views
Kendo Web is pretty unusable right now with Bootstrap 3.  Is this on the roadmap?
Dimo
Telerik team
 answered on 08 Aug 2013
1 answer
125 views
How to use setDataSource on Hierarchy Grid

Hello All -

I have a Hierarchy Grid created.. and I need to refresh the data sources after certain events... How do i go about doing it..
I know we can use setDataSource method on the Grid's widget.. but i really dont know how to get the widget for a hierarchy grid..

usually if i have a div element.. i would say
var grid = $("#grid").data("kendoGrid");
grid.setDataSource(dataSource);

but in a hierarchy grid... the child grid is created as
$("<div/>").appendTo(detailCell).kendoGrid({
            dataSource: {
                data: ReturnData
            }, ......

How do i obtain the widget for this and rebind the data source..?
Atanas Korchev
Telerik team
 answered on 08 Aug 2013
2 answers
314 views
1. I need to add a scheduler.. but i dont want the timeline to be visible.. Is there a setting that would hide the time line but just show the scheduler events?
2. How  can I disable the user to add events to the scheduler and just added the same automatically by code..
Rosen
Telerik team
 answered on 08 Aug 2013
2 answers
153 views
Hi,
What is the best way to display a dynamic dataset in a kendo grid?

Dynamic as in the datatable within the dataset could have any number of columns, I simply want the grid to render them with paging.

I have tried to return the dataset from a WCF service like Dataset.GetXml(), but that doesnt seem to work.

Using the WCF data services with OData is not an option.  The stored procedure called is also not known on the server.

Thx
Petur Subev
Telerik team
 answered on 08 Aug 2013
4 answers
1.4K+ views
I am trying to move a grid (that's styling is perfect outside of a tab) into a tab to make the most of some limited space.

My problem is the scrollbar within the grid now appears and I don't know how to get rid of it.

My code looks like

<ul class="mainnav hover-list submenu hidden">
               <li id="liHome" class="first"><a href="/">Settings</a></li>
               <li id="liBusiness"><a href="/business">Product Setup</a>
               </li>
           </ul>
           <div id="tabstrip" style="height:400px">
               <ul>
                   <li class="k-state-active">Setup</li>
                   <li>Products</li>
               </ul>
               <div>
                  
                   <div class="weather">
                       <p>
                           Rainy weather in Paris.</p>
                   </div>
               </div>
               <div>
                  
                   <div class="weather">
                       <table id="grid" class="products">
                           <thead>
                               <tr>
                                   <th style="width: 40px">
                                       <input type="checkbox" class="select-all" />
                                   </th>
                                   <th data-field="name">
                                       Name
                                   </th>
                                   <th data-field="sku">
                                       Sku
                                   </th>
                                   <th data-field="tags">
                                       Tags
                                   </th>
                                   <th data-field="AssociatedReward">
                                       Product Assigned To
                                   </th>
                               </tr>
                           </thead>
                           <tbody>
                               <tr>
                                   <td colspan="5">
                                   </td>
                               </tr>
                           </tbody>
                       </table>
                      
                   </div>
               </div>
               <div class="clear">
               </div>
           </div>

I have tried to set the height of the grid to different heights however always the same result. 

Are grids supported within the tab control?

I have attached an image on the outputted html
Greg Lynne
Top achievements
Rank 1
 answered on 07 Aug 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?