Telerik Forums
Kendo UI for jQuery Forum
0 answers
61 views
 On adding below mentioned attributes on kendo grid, loading of grid is becoming slower.

 
pageable:
true,

filterable: true,

columnMenu : true,

sortable : true,

selectable: 'row',

height: 250,

scrollable :false

Sanat
Top achievements
Rank 1
 asked on 12 Nov 2012
12 answers
429 views
I see that most of the .js API doesn't have docs. Will this be better later (since we're not getting the uncompressed source)?
Robert
Top achievements
Rank 1
 answered on 12 Nov 2012
1 answer
124 views
I have a grid with two columns that are nullable in the database.  They are returning empty strings when bound to the grid.  I've found some interesting behavior when I play with the filters.  If I use the "Starts with" filter, I get the expect number of rows back.  However, if I use the "Ends with" filter, I get the expected number of rows plus all of the rows that have no value for that field.  Is this expected behavior?  If so, it is extremely inconsistent and not really in line with user expectations.  Is there a way to get only the rows that actually end with the expected value back?

Thanks,
Jodi
Petur Subev
Telerik team
 answered on 12 Nov 2012
4 answers
1.0K+ views

I have been unable to initialize the drag and drop feature for file upload on any of my browsers.  I am currently testing on Chrome 19.0.1084.56 m.  Is there an undocumented configuration parameter I am missing which will initialize this feature?  

Here is my code, please let me know if you see anything I have configured improperly.

HTML:

<div class="fileUploadContentArea">
<input name="file" id="kendoFileUpload" type="file" />
</div>

JS:

 $("#kendoFileUpload").kendoUpload({
  multiple: true,
        select: context.onFileSelected,
async: {
saveUrl: THX.WS.config.baseUrl + THX.WS.config.wsId + '/files',                        
autoUpload: true
},
upload: context.kendoFileUploaderDrop,
success: context.kendoFileUploaderDone,
error: context.kendoFileUploaderError,
showFileList : false,
localization : {
select : libraryAssetsLocalizedStrings.mainUploadSelectLabel,
dropFilesHere : libraryAssetsLocalizedStrings.mainUploadDragDropLabel
}
});
Devi
Top achievements
Rank 1
 answered on 12 Nov 2012
1 answer
124 views
Hi,

Below is my code and i am trying to pass model inside array but i am always getting null value even there is data, can anyone help me how to pass model inside array.

------Partial view----
@(Html.Kendo().Chart<DashboardRepairMaintenance>()
        .Name("chart3")
        .Title("Repair and maintenance status")
        .HtmlAttributes(new { style = "width: 550px; height: 170px; border: transparent; margin-left:5px; " })  
        .DataSource(dataSource => dataSource
        .Read(read => read.Action("_DashboardRepairMaintenance", "DashboardRepairMaintenance"))
        )
         .Series(series =>
                {
                    series
 .Column(new int[] {(int)Model.FirstOrDefault().ACTIVE , (int)Model.FirstOrDefault().PENDING ,(int)Model.FirstOrDefault().CARFWD }
)
         .Name("Active").Stack("Active");
             

                })
                .CategoryAxis(axis => axis
                    .Categories(model => model.DAYS)
                )
                .ValueAxis(axis => axis.Numeric()
                    .Labels(labels => labels.Format("{0:N0}"))
                    .MajorUnit(2)
                     
                )
                .Tooltip(tooltip => tooltip
                    .Visible(true)
                    .Format("{0:N0}")
                )
            ) 


------Controller---------------

  public ActionResult _DashboardRepairMaintenance()
        {
           return Json(_dashboardRepository.GetRepairMaintenance());
        }

--------Model class-------
 public class DashboardRepairMaintenance
    {
        public string DAYS { get; set; }
        public int? ACTIVE { get; set; }
        public int? PENDING { get; set; }
        public int? CARFWD { get; set; }
    }

Daniel
Telerik team
 answered on 12 Nov 2012
1 answer
199 views
Hello,
I have been working with a treeview and a JSON file for the remote data source.
Of what I know the real time current data source of the tree can be accessed through:
$("#treeview").data("kendoTreeView").dataSource.data()
So I make some drag and drop changes but if the changes are made inside parent nodes then the current data doesn't change at all.
However if I drag and drop a node in the root node directory or outside of it,the current data seems to have the node copied in that position without deleting the initial one..

So the current data source seems to track only the changes made in the root node directory or outside of it,and even then the dragged nodes are copied and not moved.(even though visually they are moved through the drag ofcourse)

Is this a bug or am I doing something wrong here?

What I want is to modify the tree with drag and drops and then somehow save the progress so I can view the same modified tree even after refresh.
Is there any other way to do this?
Thanos
Top achievements
Rank 1
 answered on 12 Nov 2012
1 answer
108 views
Hi all,

I am excited about the prospect of using KendoUI and am in my trial, but I can't even make a simple tabstrip UI page work correctly. I was following along with the intro tutorial here: http://docs.kendoui.com/howto/build-apps-with-kendo-ui-mobile

Couldn't get that to work. CSS works and the widgets are there, but when I click on the About tab the about.html is appended to the URL, but I don't actually go to the about.html page. 

I decided to rip open the sample apps and take a look. I changed my index.html around to try to load a different view when clicking on the about tabstrip:

<!DOCTYPE html>
<html>
<head>
    <title>My App</title>
     
    <link href="css/kendo.mobile.all.min.css" rel="stylesheet" />
</head>
<body>
    <div data-role="view" data-layout="default">
        Hello Mobile World!
    </div>
 
    <div data-role="view" id="about" data-title="About">
        About this app.
    </div>
 
    <div data-role="layout" data-id="default">
        <header data-role="header">
            <div data-role="navbar">My App</div>
        </header>
        <!-- View content will render here -->
        <footer data-role="footer">
            <div data-role="tabstrip">
                <a href="#">Home</a>
                <a href="#about">About</a>
            </div>
        </footer>
    </div>
     
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/kendo.mobile.min.js" type="text/javascript"></script>
 
    <script>
        var app = new kendo.mobile.Application();
    </script>
</body>
</html>

I get the about view to load, but not "inside" of the layout, the screen is white, no title bar and just has the about text.

So, am I going mad? Any ideas are welcome. Thanks!
Daniel
Telerik team
 answered on 12 Nov 2012
2 answers
111 views


Posted 3 hours ago (permalink)

Hi all,

I'm using the latest Community version of Kendo UI Web and trying something with the form-table.html.
Now when I re size the browser it short the header-text of the table. Ex. Rating --> Ra....
How can I stop this?

Thanks for your replies!
Mark
Mark
Top achievements
Rank 1
 answered on 12 Nov 2012
1 answer
241 views
Hello,
I have an issue I am experiencing with the numeric textbox when I am attempting to display 9 decimal places with the markup snippet below.

<input data-role='numerictextbox' data-format='n9' data-min='0' data-decimals='9'


I get 9 decimal places when editing the textbox as show in the attachment "capture" however when I am not actively editing it the textbox is rounded to 2 decimal places as shown in the attachment "capture2".  I am looking to always have the field display 9 decimal places does anyone have any suggestions?

Georgi Krustev
Telerik team
 answered on 12 Nov 2012
1 answer
574 views
Hello,

I'm new to the Kendo UI stuff, so please forgive me if this is an easy one; I've been trying to find some details that might tell me what I'm doing wrong, but nothing so far.

Based on radio selection I need to populate the dropdownlist values and grid. I am binding the values to dropdownlist and grid using Viewdata. Initially while loading the View there is no probelm grid and dropdownlist are loaded perfectely. but when i change the radio selection, it is not updating the grid and drodown list but data is reflected in view data.

usign this below function i am calling the controller

function Frequency(Mode) {
        var json = {
            'Frequency': Mode
        }
        $.ajax({
            url: '@Url.Action("Index", "Pricing")',
            type: 'Post',
            data: json,
            success: function (data) {
                $("#cboPricingDates").data("kendoDropDownList").dataSource.read();
                $("#PricingGrid").data("kendoGrid").dataSource.read();
                alert("OK");
            }
        });
    }

and this is my controller

 [HttpPost]
        public ActionResult Index(string Frequency)
        {
            LoadFundDates(Frequency); // this will update the viewdata of dropdown and viewdata of grid
           return View();
        }

and my dropdownlist in view

   @Html.Kendo().DropDownList().Name("cboPricingDates").BindTo((IEnumerable<SelectListItem>)ViewData["PricingDates"])

and my grid

 @{Html.Kendo().Grid((List<SAM.Enrol.Prg.Contract.VendorPricingGrid>)ViewData["PricingGrid"])
        .Name("PricingGrid")
        .DataSource(dataSource => dataSource
           
            .Ajax()
            .PageSize(25)
            .Model(q => q.Id(m => m.ProdId))
            .Model(q => q.Id(m => m.Ccy))
             .Model(q => q.Id(m => m.Cat))
            
                )
               
        .Columns(columns =>
        {
           // Columns goes here
        
        })
            


          .Resizable(resizing => resizing.Columns(true))
          .Scrollable(scrolling => scrolling.Enabled(true).Height(600))
          .Sortable(sorting => sorting.Enabled(true))
          .Groupable(grouping => grouping.Enabled(true))
          .Filterable(filtering => filtering.Enabled(true))
          .Reorderable(reorder => reorder.Columns(true))
          .Pageable(Pageable => Pageable.Enabled(true).PreviousNext(true).Input(true).PageSizes(true).Refresh(true))
          .RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.ProdId))
          .RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.Ccy))
          .RowAction(row => row.HtmlAttributes.Add("data-id", row.DataItem.Cat))
                      .Selectable(s => s.Mode(GridSelectionMode.Single).Enabled(true))
                      .Render();
                      }

Please help me to resolve this issue.


Georgi Krustev
Telerik team
 answered on 12 Nov 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
Drag and Drop
Application
Map
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
DropDownTree
ListBox
PDFViewer
Sparkline
ActionSheet
TileLayout
PopOver (Mobile)
TreeMap
ButtonGroup
Styling
ColorPicker
Pager
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
Licensing
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
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
TimePicker
FloatingActionButton
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
StockChart
ContextMenu
DateTimePicker
RadialGauge
ArcGauge
AICodingAssistant
SmartPasteButton
PromptBox
SegmentedControl
LLM Kit
+? more
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jake
Top achievements
Rank 1
RBarnes
Top achievements
Rank 1
Iron
Iron
Rami
Top achievements
Rank 1
Iron
Veteran
Nathan
Top achievements
Rank 1
Kumeri
Top achievements
Rank 1
Iron
Veteran
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?