Telerik Forums
Kendo UI for jQuery Forum
3 answers
127 views
I wonder is there any way to make sure that android header goes back to the bottom of the page after pushed up when keyboard appear.

Thanks
Petyo
Telerik team
 answered on 06 Apr 2012
1 answer
246 views
Hey Guys,

Q:Is it possible to call a function on the "Custom" action passed into the window.

In one of your online samples you have passed in the following actions to the window:
  actions: ["Custom", "Minimize", "Maximize", "Close"]

I can call functions for Close Minimize Maximize, but how can I call a function when the custom icon is clicked?

How does the window even know what icon to render for the "Custom" action.


JSFiddle Share link:
http://jsfiddle.net/taF5V/4/

JSFiddle full screen:
http://jsfiddle.net/taF5V/4/embedded/result/
Dimo
Telerik team
 answered on 06 Apr 2012
1 answer
195 views
proGrid.data("kendoGrid").bind("detailExpand", function(e) {
//how could i get the masterRow's data here?
});
Nikolay Rusev
Telerik team
 answered on 06 Apr 2012
0 answers
220 views

Hi All,

I am trying to render a Kendo Window from within a Template. And I am facing issues while doing so. When I use any kendo widget inside the window it’s not rendered (only the base html element is displayed) when placed in the kendo template and also only first time window gets rendered, once the window is closed next subsequent button clicks produces only the base html elements
 

If you place the same widgets outside the kendo window in the template they are rendered properly.

The scenario that I am working on is something like:

  1. If Country is Non-US, then the “Select” button shall not show up
  2. If I select US as country, a Select button appears which allows me searching the country by ZipCode
  3. For searching we is opening a Kendo window, with its title set to the US State Name
  4. Once the Window opens a user can perform a search for the Zip Codes (Searching feature currently not Implemented)


I have created a JSFiddle for show casing the problem I am facing. Refer URL http://jsfiddle.net/ganeshgupta/xRTbw/12/. Attached are the snap shots of the UI when I click on the “Select” button the first & second time, displaying only the Kendo Window in the first place (Without tab controls) and next time just the base controls only (No Window & Tab controls).

Kindly have a look at the same & let me know if I have a work around that can address the same.

Thanks & Regards,

Manoj Kapoor

Manoj Kapoor
Top achievements
Rank 2
 asked on 06 Apr 2012
3 answers
168 views
I have a chart with 5 series - 2 area series and 3 line series, but the area is showing up on top of the lines.  Is there a way to control the order the series get drawn?

Thanks,
Sara
Iliana Dyankova
Telerik team
 answered on 06 Apr 2012
1 answer
1.5K+ views
Hi,

I have a kendo grid. And i am using filters on all the columns. Suppose i filtered on some column and did not clear it. Now, when i reload the grid, i want to clear the filter.I dont want to preserve the filtered stated. If i don't clear it, then the new data is getting rendered only when i clear the filter(as it doesn't have any row matching the filter search criteria). I am reloading the grid this way :

var grid = $("#" + gridDivId).data("kendoGrid");
        var new_data = gridData;
        grid.dataSource.data(new_data);
        grid.dataSource.page(1);

What should i add to achieve that?

Regards,
Khushali
Iliana Dyankova
Telerik team
 answered on 06 Apr 2012
1 answer
130 views

This shows how navigatable doesn’t work when the user navigates using the right arrow key…

Run the fiddle – then select the first column of the second row.  Hit your right arrow key two times… the grid doesn’t scroll to the right to show the City column as it should:

 Check it out: http://jsfiddle.net/NqSuS/22/ 

I tried using e.item.scrollIntoView() in  http://jsfiddle.net/ElanHasson/DtbNC/  but you still have to press spacebar to select it.

Any ideas?
Nikolay Rusev
Telerik team
 answered on 06 Apr 2012
0 answers
265 views
My css is below:
html, body
{
    height: 100%;
    margin: 0;
    padding: 0;
    font-size: 13px;
}
html
{
    overflow: hidden;
}

My layout is below:
<div id="splitter1" style="height: 100%; border: 0">
    <div id="top_pane"></div>
    <div id="middle_pane">
        <div id="splitter2" style="height: 100%; width: 100%;">
            <div id="nav_pane" style="padding: 5px">    //padding works well
                <div  id="nav" style="border:1px solid red;"> </div>
            </div>
            <div id="content_pane"  style="padding:5px">  //padding right works not well !!! why?
                <div id="content" style="border:1px solid red;"></div>
            </div>
        </div>
    </div>
    <div id="bottom_pane"></div>
</div>

my script is below:
$(document).ready(
    function () {
        var splitter1 = $("#splitter1").kendoSplitter({
            orientation: "vertical",
            panes: [{ size: "30px", resizable: false }, {}, { size: "20px", resizable: false}]
        }).data("kendoSplitter");
 
        var splitter2 = $("#splitter2").kendoSplitter({
            orientation: "horizontal",
            panes: [{ collapsible: true, size: "200px" }, {}]
        }).data("kendoSplitter");     
 
        var triggerResize = function () {
            splitter1.trigger("resize");
            splitter2.trigger("resize");
        }
 
        $(window).resize(triggerResize);
    }
);
Nick Wu
Top achievements
Rank 1
 asked on 06 Apr 2012
2 answers
106 views
i need to use row template and sortable features together. But it is not working. Can somebody help me how do i fix this?
My sample code is below: 
###############################################


<script src="path/to/jquery"></script> 
        <script src="path/to/kendo/all/js"></script> 
<script src="../../content/shared/js/people.js"></script>
        <link href="../../../styles/kendo.common.min.css" rel="stylesheet" />
<div id="example" class="k-content">
            <table id="people">
                <thead>
                    <th>Id</th>
                    <th>First Name</th>
                    <th>Last Name</th>
                    <th>Title</th>
                    <th>Age</th>
                </thead>
                <tbody>
                    <tr>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                        <td></td>
                    </tr>
                </tbody>
            </table>
            <script id="template" type="text/x-kendo-template">
                <tr class="asdf">
                     <td>#= Id #</td>
                    <td>#= FirstName #</td>
                    <td>#= LastName #</td>
                    <td>#= Title #</td>
                    <td>#= Age #</td>
                </tr>
            </script>
            <script>
                $(document).ready(function() {
                    //initialize dropdownlist components
$("#people").kendoGrid({
dataSource: {data: createRandomData(500)},
height: 200,
sortable: true,
rowTemplate: kendo.template($("#template").html())
});
   
                });
            </script>




#############################################


Thank you!
Jesus
Top achievements
Rank 1
 answered on 06 Apr 2012
0 answers
230 views
I've integrated a Kendo splitter into SharePoint 2010.  I see the following error in the firebug console:
kendo.ui.Resizable is not a constructor
http://domain/sites/TestDeployment/Pages/_layouts/1033/STYLES/KendoUI/Web/kendo.splitter.js
Line 931

I also find that I'm unable to access my existing splitter using
var splitter = $("#mainArea").data("kendoSplitter");
where #mainArea is the ID of the div where I attached the splitter.  When I try this, I see an error in the firebug console indicating that "splitter is undefined".
$("#mainArea").height() returns the height of the div, and there is a splitter there that otherwise works.

Any ideas?  Please let me know if I can provide any other information that may help.

Thanks.
Bruce
Top achievements
Rank 1
 asked on 06 Apr 2012
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
Drag and Drop
Application
Map
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
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Simon
Top achievements
Rank 2
Iron
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Kao Hung
Top achievements
Rank 1
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?