Telerik Forums
Kendo UI for jQuery Forum
1 answer
287 views
Help! I have NO idea what I'm doing wrong!  The initial node loads and shows an expand icon but nothing happens when it's clicked.  No request is even attempted. I have the following code:
var homogeneous = new kendo.data.HierarchicalDataSource({
    transport: {
        read: {
            url: 'http://localhost:500/api/users/',
            dataType: "json"
        }
    },
    schema: {
        model: {
            id: "id",
            hasChildren: "load_on_demand"
        }
    }
});
 
$("#tree").kendoTreeView({
    dataSource: homogeneous,
    dataTextField: "label"
});

The  'http://localhost:500/api/users/' is an ASP.NET Web API controller method that returns the following JSON:

[{"id":12345,
  "label":"NODE 1",
  "load_on_demand":true
}]

What am I doing wrong? Any ideas would help!
Daniel
Telerik team
 answered on 06 Mar 2013
0 answers
187 views
$(document).ready(function () {
      $("#listView").kendoListView({
          dataBound: function (e) {
              var listView = $("#listview");
              if (!listView) {
                  alert("listView null");
                  return;
              }
              var listData = listView.data("kendoListView");
              if (!listData) {
                  alert("listData null");
                  return;
              }
          }
      });
The above code shows "listData null".  I need to access .data() and thought the purpose of the dataBound() event was to indicate when I could do so.  What event should I use if not this one?

Thanks,
David

EDIT:  I'm sorry, it was my mistake.  I should have typed "listView" instead of "listview".  After this change, I can access .data() from the dataBound() event handler.
David Ching
Top achievements
Rank 1
 asked on 05 Mar 2013
1 answer
333 views
Hello All,

  I am facing issue in an editable grid. I want to editable textbox when user click on check box.
  User only one field to modify when check box clicked.
 
  Here i attached screen shot which i want.
 
Thanks,
Alexander Valchev
Telerik team
 answered on 05 Mar 2013
6 answers
188 views
This is happens in Firefox. When I turn on the grid column menus and try to filter on a string column I cannot focus the textbox. Also on a date fields I cannot click the calendar box, just the icon to popup the calendar.

I also get the same issue on the text columns in this demo : http://demos.kendoui.com/web/grid/column-menu.html

anyone run into this and come up with a fix?

thanks
John
Top achievements
Rank 2
 answered on 05 Mar 2013
1 answer
10.6K+ views
I have a grid that is dynamically driven by metadata with the user choosing the columns they want to see.  I do not know ahead of time what the headers will be or how many columns the user will select.  I have the grid setup with a fixed height and every column gets a fixed width of 200.  What happens is that some columns header is bigger than the allowed space and gets cut off.  Is there any way to increase the height of the header and have the text wrap to a new line?  Any other solutions for this?
Dimo
Telerik team
 answered on 05 Mar 2013
1 answer
100 views
I have a menu that is contained in a slide-in div (using kendo.fx.slidein) and I want to make sure the slidein effect does not play until *after* the menu effect has completed.

Is there a way to ensure that my KendoMenu close event is called after the animation is complete, or to have the close event function handler call the slidein effect asynchronously with the menu effect?

Thanks.
Kamen Bundev
Telerik team
 answered on 05 Mar 2013
2 answers
133 views
Hello,

I have a web page with combobox containing some values.
When I click on the dropdown and the list is shown below - the selected value is shown in the end of the list.

Can I change this behavior to display selected value at the top of the list?

Thanks ahead,
Yulia
Yulia
Top achievements
Rank 1
 answered on 05 Mar 2013
3 answers
296 views
I have a grid with several computed columns.I set the computed properties when I change the properties in the grid edit mode . Do I need to use editor template to make a read only column (when I set editable:false it doesn't change according to the new value)? 

And I have several computed properties in grid, Is there any other way to make it a generic calculation instead of using if/else for change property name like this,

   
 save: function(data) {
     
        if (data.values.Qty) {
            var test = data.model.set("Total", data.values.Qty * data.model.Amt);
        }
        else {
            var test = data.model.set("Total", data.model.Qty * data.values.Amt);
        }
    }

Is there any event like saved (to get the data.model with changed property has been set)? 

And the other issue is when I have several computed fields set like this the save method is called for each calculated field set. 

Here is my example,
http://jsfiddle.net/H6tgv/74/
Holger
Top achievements
Rank 1
 answered on 05 Mar 2013
1 answer
73 views
Is it possible to get a BeforeDragStart event?  I need to handle some things before the "hint" is created and I need access to whether ctrl/alt/shift is pressed (which isn't available in the hint function).  Thanks!

-Keith
Alexander Valchev
Telerik team
 answered on 05 Mar 2013
4 answers
124 views

I have been producing Telerik MVC Extensions with the Forest theme for several months now.  Finally a new project came along and I decided to use Kendo UI Web.  The problem is every time I show a demo, I get comments on how much better my peers like the old MVC Forest theme.

Has anyone done the work to recreate the Forest Theme for Kendo Web?

Thanks!
Vasil Yordanov
Telerik team
 answered on 05 Mar 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
Dialog
Chat
DateRangePicker
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
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Edmond
Top achievements
Rank 1
Iron
fabrizio
Top achievements
Rank 2
Iron
Veteran
RobMarz
Top achievements
Rank 2
Iron
Fakhrul
Top achievements
Rank 1
Iron
Tejas
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?