Telerik Forums
Kendo UI for jQuery Forum
1 answer
93 views
I've been trying to track down a performance issue we are seeing with the kendo grid when using client side binding with virtualization turned on.  After much trial and error I have found the cause to be one simple css style. When applied the grid dies. My findings are in Chrome and I have not tested any other browser.

Plunker:  http://plnkr.co/edit/EDFS3Z?p=preview

This shows the grid capable of loading 1700 odd rows fine, it can sort and filter with good performance due to the option of scrollable: { virtual: true } and pageSize: 50.

When you un-comment the line /*border-bottom: 1px solid #c5c5c5;*/  in the index.html file you will see the problem, the plunker may not respond or it will and the grid will be extremely slow.
We has this line in our theme and it was killing our grids, when you turn virtualization off it works but then we have other performance issues.

Anyone else seen this?  very hard bug to find :o

Dimo
Telerik team
 answered on 03 Apr 2014
2 answers
187 views
Hello,

I am using a kendo draggable over a grid so i can reorder the rows.
The code is similar to the following:
grid.table.kendoDraggable({
    filter: "tbody > tr",
    group: "gridGroup",
    threshold: 100,
     axis: "y",
    hint: function (e) {
        return $('<div class="k-grid k-widget"><table><tbody><tr>' + e.html() + '</tr></tbody></table></div>');
    }
});


Problem is, that inside the grid i have a column with textboxes and the focus for this has stopped working. Is there any way i could fix this?

Thank you,
Cosmin
Cosmin
Top achievements
Rank 1
 answered on 03 Apr 2014
6 answers
89 views
Hi everybody,

I'm very stucked for a very simple thing, I cannot remove the line of the bottom of the drawer in my app (The one hilight yellow).

Is anybody as any idea? I try everything, remove css, add css, nothing works... It drives me crazy :/

Thank you very much for your help.
Kiril Nikolov
Telerik team
 answered on 03 Apr 2014
1 answer
455 views
hi,
i want validate my dropdown list, just i want to check the dropdown have any value..
please give a solution
my code is
<form method="post" action="/UploadAthletes/UploadReturn" name="second" id="second" enctype="multipart/form-data">
                                <div id="crt">
                                    <label for="Coach" class="col-lg-4 col-sm-5 col-xs-11">Select Coach</label>
                                    <span class="k-invalid-msg" data-for="name"></span>
                                    <ul>
                                        <li style="padding-left:10px;" class=" col-lg-4 col-sm-5 col-xs-11">
                                            @(Html.Kendo().DropDownList()
                                      .Name("sp")
                                      .HtmlAttributes(new { style = "width:100%" })
                                      .OptionLabel("Select Coach...")
                                                      .DataTextField("CoachName")
                                                      .DataValueField("CoachID")
                                      .DataSource(source =>
                                      {
                                          source.Read(read =>
                                          {
                                              read.Action("GetCoach", "UploadAthletes");
                                          });
                                      })
                                            )
                                        </li>
                                    </ul>
                                </div>


Alexander Popov
Telerik team
 answered on 03 Apr 2014
1 answer
137 views
Hello,

I'm using a kendo mobile drawer on both sides of our Phonegap mobile app.  I recently updated to 2014.1.321 and also 2014.1.328 .  I'm now seeing an issue with the right drawer.  When I open any UI view from the right drawer, it should open the view in middle screen.  This worked fine before the latest internal builds.  What I'm seeing now is it opens the view in the right drawer.

Is this a bug, or has the api maybe changed?

  Nick
Kiril Nikolov
Telerik team
 answered on 03 Apr 2014
2 answers
235 views
Hello,
I'm trying to bind a grid to the Model's property in the Popup Edit template. I need to attach some events to the grid, but it requires an object to do so. I can't find a way to bind an observable to the grid definition from the Model.

Here's the class Definition:
public class PopupBind
        {
            public PopupBind()
            {
                this.PopupBind1= new List<PopupBind1>();
            }

            public int primaryKey{ get; set; }
            public string bindData{ get; set; }
            public virtual IEnumerable<PopupBind1> PopupBind1{ get; set; }
        }

public class PopupBind1
        {
            public int primaryKey{ get; set; }
            public string Name{ get; set; }
            public string Value{ get; set; }
        }

Grid Defintion
@(Html.Kendo().Grid<PopupBind>()
      .Name("bound")
      .Columns(columns =>
      {
          columns.Bound(ad => ad.bindData).Title("Name");
          columns.Bound(ad => ad.PopupBind1).ClientTemplate("# if( typeof PopupBind1!= 'undefined' ) { #" +
                                                                   "# PopupBind1.forEach(function(element, index, array){ #" +
                                                                   "<div>"+
                                                                   "#= element.Name# (#=element.Value# %)" +
                                                                   "</div>" +
                                                                   "# }) } #").Title("Bind1");
        
          columns.Command(command =>
          {
              command.Edit();
          });
      })
      .Editable(editable =>
      {
          editable.Mode(GridEditMode.PopUp).TemplateName("EditPopupBind");
          editable.Window(window => window.Width(600));
      })
      .ToolBar(toolbar => toolbar.Create())
      .DataSource(dataSource => dataSource.Ajax()
          .Batch(true)
          .Model(model =>
          {
              model.Id(ad => ad.primaryKey);
              model.Field(ad => ad.PopupBind1).Editable(false).DefaultValue(new Collection<PopupBind1>());
          })
          .Read("GetPopupBind", "popup")
          .Update("UpdatePopupBind", "popup")
          .Create("CreatePopupBind", "popup")
      ))


EditPopupBind.cshtml
@model PopupBind

<fieldset>
        <legend>PopupBind</legend>

         <div id = "PopupBind1Details" data-role="grid" 
         data-editable='[
         {
            "confirmDelete":
                "Delete",
            "cancelDelete": "Cancel",
            "mode": "incell",
            "template": null,
            "create": true,
            "update": true,
            "destroy":true
        }]'
         data-bind = "source: PopupBind1" 
         data-columns='[
        { field : "Name", title: "Name" },
        { field : "Value", width: 120, title : "Value" },
        { "command":[{
                "name": "destroy",
                "buttonType": "ImageAndText",
                "text":"Delete"
            }]
            }]'/>
</fieldset>

Description for PopupBind1Details
What I need to do is
1. Make Name field non-editable.
2. Attach Destoy, Edit and Add handlers, and if possible pass the updates done to the Value field to UpdatePopupBind

Is this achievable?

Petur Subev
Telerik team
 answered on 03 Apr 2014
1 answer
237 views
When I try to initialize a mobile listview with virtual scrolling before I navigate to the parent data-view, I'm getting this error :

"03-31 22:56:56.872: E/Web Console(31538): Uncaught TypeError: Cannot call method 'makeVirtual' of null:46"

Here's my code:

lstJobs = $("#lstJobs").kendoMobileListView({
           dataSource: JobDataSource,
           template: $("#lstJobTemplate").html(),
           endlessScroll: true,
           virtualViewSize: 100 }).data("kendoMobileListView");

If I use serverPaging = true, pageSize=100 in the datasource for pre binding I don't get this error, but then performance is poor on some devices.

My use-case is that I have 3 different views with listviews on them, and I want them to load very quickly the first time the user accesses them.  So what I'm trying to do is pre-bind the listviews when the user first logs in, before they navigate to those screens.

Any ideas on this?

  Nick
Kiril Nikolov
Telerik team
 answered on 03 Apr 2014
1 answer
43 views
Hello,

I upgraded Kendo from 2013.1.514 to 2014.1.318 and all of the gradients have been removed from my charts.  I am using the bootstrap theme.  What must be done to restore the gradient 3-D effect?


T. Tsonev
Telerik team
 answered on 03 Apr 2014
3 answers
499 views
I badly need to remove or disable the HScrollBar in Tree View.  I've seen answers for radTreeView, but nothing for UI TreeView.   Please, I need to disable this asap
Kiril Nikolov
Telerik team
 answered on 03 Apr 2014
1 answer
348 views
Hi,

I am using the scheduler in Kendo Mobile, referencing the demo.

I set the initial parameters in the init view function and change the dataSource and use the date() function to change the date of the scheduler.
However, I would also like to change the startTime and resources so that more changes can be determined later.

Would you suggest how to change them?

Thanks!
Atanas Korchev
Telerik team
 answered on 03 Apr 2014
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?