Telerik Forums
Kendo UI for jQuery Forum
2 answers
499 views
Hi Telerik team,

Do Kendu UI charts provide drill down functionality? Like, say, I want the user to redirect to another page as a result of clicking on area of a chart to show more details? If yes, then how?

Thanks in advance.
Sam
Top achievements
Rank 1
 answered on 07 Mar 2012
1 answer
362 views
I have multiple divs with datarole "view". In the first view we want to authenticate a user and when valid the user have access to other views (tabs).

Authentication Tab:
    <div data-role="view" id="tabstrip-login" data-title="Login" data-layout="mobile-tabstrip-unauth">
        <ul data-role="listview" data-style="inset" id="lvLogin">
            <li>Username <input id="loginUsername" required /></li>
            <li>Password <input id="loginPassword" required /></li>
        </ul>
        <a data-role="button" onclick="login()" id="btnLogin">Login</a>
    </div>


Tab To show after authentication
    <div data-role="view" id="tabstrip-projects" data-title="Projects" data-init="listProjects" data-layout="mobile-tabstrip-auth">
        <ul data-style="inset" id="projectList"></ul>
    </div>

The validation wil take place in the login function:
        function login() {
//authenticate with a json call that sets a session
if (session){
//Show tabstrip-projects 
}
else
{
// show failed login message
}
        }

So the question is how to show a view or tab within a click event function.. I hope the question is clear.

Thanks,
Marco
Petyo
Telerik team
 answered on 07 Mar 2012
1 answer
204 views
I've got a very simple listview and I want to click on one of the items to be able to view a detail page of the item.  I've tried following the example in the Sushi and I've got the following code

<div class="back-button-show" data-role="view" data-layout="app" data-show="getVendorDetails" data-title="" id="vendor-details">
</div>
 
<script type="text/x-kendo-template" id="vendors-all-list">
        <a class="vendor-details-link" data-role="listview-link" href="\#vendor-details?id=${id}">
            <div class="vendor-list-booth">${ booth_number }</div>
            ${ name }<br />
            <span class="vendor-list-taglag">${ tag_line }</span><br />
        </a>
 </script>
       
 <script type="text/x-kendo-template" id="vendor-details-template">
        ${ name }
 </script>
 
<script>
...
  var getVendorDetails = function(e) {
            var view = e.view;
             
            vendor = vendorAlphaDS.get(view.params.id);
            view.content.data("kendoMobileScroller").scrollElement.html(vendorDetailTemplate(vendor));
            kendo.view.enhance(view.content);
        };
</script>

I'm running this in a phonegap project under XCode.  The problem is when I run the project in the simulator, the system won't click on the detail page.  If I comment out the kendo.view.enhance, then I can click to the detail page but nothing happens (it's just a blank page).  Any help would be greatly appreciated.
Petyo
Telerik team
 answered on 07 Mar 2012
3 answers
246 views
I have an AutoComplete calling an ajax-enabled WCF service using JSON.  it's works fine and I get results when I type into the Input.  However I would also like to programmatically set the input value and have results returned.  I tried to use the example below.  And it sets the input box but it's not getting data and the drop down results aren't showing up.   How do I get this to work?

Forces a suggestion onto the text of the AutoComplete.

Example

// note that this suggest is not the same as the configuration method
// suggest which enables/disables auto suggesting for the AutoComplete
//
// get a referenence to the Kendo UI AutoComplete
var autoComplete = $("#autoComplete").data("kendoAutoComplete");

// force a suggestion to the item with the name "Inception"
autoComplete
.suggest("Inception");
1zias01
Top achievements
Rank 2
 answered on 07 Mar 2012
2 answers
500 views
Hello forum:
How can I add an unbound column to a grid? I want to add a column with a checkBox in each cell to select rows, but I don't want to add a boolean field to my model.
I want my users can select several rows of the grid and then click a button to delete them. 
How can I accomplish this?

Oscar.
Oscar
Top achievements
Rank 1
 answered on 06 Mar 2012
0 answers
162 views
Looking to combine panelbar and splitter functionality.  Basically need a panelbar (with its large, labelled separator areas) that the user can drag resize to revel more or less content of a given panel.

Any way to do this?
T
Top achievements
Rank 1
 asked on 06 Mar 2012
1 answer
290 views

$("#grid").kendoGrid(
{
...
editable:
{
update: true,
mode:'popup'
}
...
}

thanks!!
Alexander Valchev
Telerik team
 answered on 06 Mar 2012
1 answer
55 views
If I have a treeview, menu and panelbar on the same page and pass the following command to the treeview:

treeview.remove(".k-item")

then all of the nodes from all of the controls are removed.  Now, I know that I can be more specific with my selector and only select k-items from the treeview, but you'd think that it would make sense for the treeview to only remove items that it "owns".  I have not tested this with the other controls (menu, panelbar) to see if they also work this way when removing nodes.

Thanks,
Cuinn.
Alex Gyoshev
Telerik team
 answered on 06 Mar 2012
0 answers
104 views
I have problem when add any new data in grid. Grid is not refresh after adding new  data.
here is the dummy  sample.
 xyz=data;
             var dataSource= new kendo.data.DataSource({
                  data: xyz,        
              schema: {
              model: {
                id: "id",
                fields: {
                    id:{type: "number"},
                   name:{type:"string'},
                   other fields here
                }
            }
          }
      });
            var abc= $("#abc").kendoGrid({
                        dataSource: dataSource,
                        scrollable: false,
                        cache: false,
                        //selectable:true,
                       columns: [{
                                field: "name",
                                title: " Name",
                                template:'#if(name=="pqr"){# <span id="Background"> #=name#</span>#}else{# <span id="Align">#=name# </span>#}#'
                            } ,
             other field here  ,it also have some condition as above
                        ], 
               })

there is one add button , when you click on that, data is added in xyz object.and refresh grid, but here grid is not refresh.[when i remove  template:'#if(name=="pqr"){# <span id="Background"> #=name#</span>#}else{# <span id="Align">#=name# </span>#}#' from grid  it works fine.]
 $(".add").click(function(){
               var getNewData =  {};
                 getNewData .name=document.getElementById("name").innerHTML;
                 xyz.push(getNewData );
                  $("#abc").data("kendoGrid").refresh();       
           })

Please help me
thanks in advance
Mahesh
Top achievements
Rank 1
 asked on 06 Mar 2012
1 answer
371 views
I am using the TabStrip control in an ASP.NET user control to create a set of tabs for a Search/View/Report scenario.  Each action has a separate tab.  On the first tab is a set of search criteria, on the second tab is a grid with the results and on the third tab is a list of reports.  The problem that I am having is that after I search all three tab container controls appear momentarily and then disappear after the javascript is called to render the tabstrip.  Does anyone know a way to not make this information momentarily appear on the screen before the tabstrip is rendered?  Is there some client side event that is fired when the rendering is completed that I could hook into?  Any other thoughts?
Kamen Bundev
Telerik team
 answered on 06 Mar 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
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?