Telerik Forums
Kendo UI for jQuery Forum
2 answers
737 views
Hello I apologize if I can not write well in English, but I used a translator.
you can have a full CRUD example of a grid that updates through ADO php mysql?

Thank you.

Michele Lo Monaco.
Michele
Top achievements
Rank 1
 answered on 07 Mar 2012
2 answers
523 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
370 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
214 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
275 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
554 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
169 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
316 views

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

thanks!!
Alexander Valchev
Telerik team
 answered on 06 Mar 2012
1 answer
62 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
122 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
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
ScrollView
Switch
TextArea
BulletChart
Licensing
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
FloatingActionButton
CircularGauge
ColorGradient
ColorPalette
DropDownButton
TimeDurationPicker
ToggleButton
ContextMenu
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
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?