Telerik Forums
Kendo UI for jQuery Forum
3 answers
1.4K+ views
Hi,
I load a complex treeview via ajax because I need to load the tree with one request (works fine):

$(document).ready(function() {    
    buildTree();        
});

function buildTree(){
    $.getJSON("admin_get_treedata.php", function (data) {
        $("#treeview").kendoTreeView({
            select: function(item) { editTreeElement(item,'tree'); },
            dataSource: data
        });
    })
}

If I try to reload the complete tree after changing some data via ajax  the new build tree does not work correct and does not update the text.

        $.ajax({
            type: 'POST',
            url: 'ajax/ajax_update_layer.php',
            data: {
                layerid:id,
                ...
            },
            success: function(data){
                          buildTree();
                    }
            });   

What can Ido?
Thanks
Sven
Alex Gyoshev
Telerik team
 answered on 25 Jul 2013
5 answers
239 views
I am working on a mobile app utilizing PhoneGap and it works wonderfully on my test iPhone, but not so well on Android phones. Since I can't just ignore the Android version, I need to make it run there. I was figuring I would just not use the range input, but then I noticed that it wasn't working on Chrome either. When you try to use it, it gets "sticky".

Here is a fiddle: http://jsfiddle.net/mUz8g/

I have distilled my code down to this


<div data-role="view" id="first" >
            <ul data-role="listview" data-style="inset">
                <li><input min="0" max="10" step="1" type="range" id="input1" /></li>
           </ul>
 </div>
app = new kendo.mobile.Application(document.body, {
  transition: "fade",
  initial:'#first',
  loading: "<h1>Please wait...</h1>"
});
Any ideas on what I am doing wrong? Thank you.
Kiril Nikolov
Telerik team
 answered on 25 Jul 2013
11 answers
213 views
Greetings !
We only have until early next monday to decide which JavaScript UI framework we'll be using for our next major development project.
To evaluate Kendo, i need a simple prototype CRUD interface handling 3 tables with "OneToMany" relations. (See attached mysql file.)

A "Drivers" table with a time field and two foreign keys. One to the "manufacturer" table and another one to the car's "model"  table.
Of course, the model table also has a foreign key to the manufacturer table as Toyota doesn't sell F150 !
The Grid we must create for this prototype must match the following image. (Note that the manuf and model columns are of type DropDown.)

Business Rules:
  • The model DropDown list must only offer models based on the selected item in the manufacturer DropDown cell.
  • Any changes made by the user to the manufacturer cell must remove the item in the following model cell.
  • Deselecting the row causes an update request to the PHP server.

Note that i am currently trying to implement this without the PHP Wrapper.
Any help would be welcome !


Atanas Korchev
Telerik team
 answered on 25 Jul 2013
4 answers
277 views
hello,
I want to add events into calendar control, and that dated are saved into database.  how I add dates into events variable?
Rupali
Top achievements
Rank 1
 answered on 25 Jul 2013
1 answer
193 views
            $("#splitter").kendoSplitter({
                panes: [
                            { contentUrl: 'http://myhouse.com/index.aspx' }
                        ]
            });

I use this statement to populate a panel of my splitter.  Is there a way to populate a specific drawer in the same manner?

            $("#drawer").kendoDrawer({
                panes: [
                            { contentUrl: 'http://myhouse.com/index.aspx' }
                        ]
            });
Kiril Nikolov
Telerik team
 answered on 25 Jul 2013
4 answers
187 views
        Our team is currently investigating the Kendo UI to possibly implement it with our projects. Today I started investigating about creating hierarchical grids with Kendo UI and I have observed that arrow buttons for the hierarchy grid are shown only when this is included in the html helper:

.DataSource(dataSource => dataSource
    .Ajax()
)

    I want to use Server data binding instead of Ajax binding but whenever I omit the preceding code in my helper, the buttons for hierarchy don't show up.

  • Is it possible to have grid hierarchy through server binding?
  • Kindly attach a simple demo with your reply. Thanks!

 

 

 

Vladimir Iliev
Telerik team
 answered on 25 Jul 2013
1 answer
76 views
I am trying to add the current scheduler code into my html page but all i see are 3 check boxes. for some reason the style and formatting of the scheduler arent showing up. Can I have two different style sheets in one html file? I copied the example code exactly but still no luck. i am really new to all of this but would really appreciate any help or advice on why its not showing up. 

thanks so much
Dimo
Telerik team
 answered on 25 Jul 2013
2 answers
90 views
Telerik/any other user of Kendo DataViz,

Has anyone come across transparent bars when using the chart refresh() function, as in the attached screenshot, and if so are you aware of how to fix it?

Thanks,
Jamie
Jamie
Top achievements
Rank 1
 answered on 25 Jul 2013
1 answer
108 views
Hi,

i have set a javascript function to kendo ui grid's filterable using the option "filterable:  { ui: timeFilter };". it's calling for the column's quick filter first time visit.
To clear all the applied filters I am using the following code:
                         $("form.k-filter-menu button[type='reset']").trigger("click");

After clearing the filters ,  filterable's javascript function is not calling.
How do I call  the filterable's associated javascript function after clearing filters.

Please suggest on this.

Thanks,
Raj Yennam
Daniel
Telerik team
 answered on 25 Jul 2013
3 answers
193 views
Hi,

I have added scheduler control to my site,it's work in my local testing . but when I uploaded to the server I can't add the event. I thinks because the wrong values 
of start and end time. there is a different between time value in popup and time value in post method
Please find the screen shoot in the attached image,

thanks,
  
Vladimir Iliev
Telerik team
 answered on 25 Jul 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?