Telerik Forums
Kendo UI for jQuery Forum
1 answer
98 views
Hi,
   How to enable keyboard navigation for grid?  What i want to achieve is on clicking tab it control should goto next cell, similarly left/right/up/down arrows should go to previous/next/above/bottom cells.

Thanks
Shaneed
shaneed
Top achievements
Rank 1
 answered on 28 Jan 2014
5 answers
139 views
I have a very simple page , which displays Log4Net entries on the page. It has a grid with a refresh button.
When I hit the  refresh button, I do supply additional parameter to the refresh function.
It works in 2013.3.1119 and before, but that functionality is broken in 2013.3.1316.340.

The Page:
@using Monitoring.Contracts.Models
@model  Tuple<IEnumerable<string>, IEnumerable<Log4NetLogItem>>
@{
    var items = Model.Item1.Select(m => new SelectListItem {Text = m, Value = m});
}

<div style="width: 100%;text-align: center">
    <div style="display: inline-block">
        Log4NET Log Viewer &nbsp; 
        @(Html.Kendo().DropDownList()
              .Name("ddLogFiles")
              .DataTextField("Text")
              .DataValueField("Value")
              .Events(e => e.Change("adminContext.ddLogFilesChange"))
              .BindTo(items)
              .SelectedIndex(0)
              )
    </div>
    <br/><br/>
    <div style="text-align: left">
        @(Html.Kendo().Grid(Model.Item2).Name("grdLogItems")
        .Columns(c =>
                     {
                         c.Bound(a => a.LogDate).ClientTemplate("#= kendo.toString(LogDate, \"yyyy-MM-dd HH:mm:ss\") #").Width("10%");
                         c.Bound(a => a.LogLevel).Width("5%");
                         c.Bound(a => a.UserName).Width("10%");
                         c.Bound(a => a.UserAddress).Width("10%");                        
                         c.Bound(a => a.LoggingClass).Width("10%");
                         c.Bound(a => a.LogMessage).Width("45%");
                         c.Bound(a => a.UserAgent).Width("20%");
                     }
        )       
        .Pageable(p=>p.PageSizes(new[]{5,20,100}).Refresh(true))
        .Sortable() 
        .Filterable() 
        .Scrollable(a=>a.Height(500))   
        .Resizable(a=>a.Columns(true))   
        .DataSource(d=>d.Ajax().PageSize(100).ServerOperation(false).Read(r=>r.Action("GetLogEntries","Admin").Data("adminContext.extraLogData")))
        )
    </div>
</div>
Controller Action:

 
public ActionResult GetLogEntries([DataSourceRequest]DataSourceRequest request, string fileName)
        {
            string path = Server.MapPath("~\\Logs");
            var newpath = string.Format("{0}\\{1}{2}", path, fileName, ".log");
            IEnumerable<Log4NetLogItem> lines = ClientNetworkManager.GetLogItems(newpath);
            return Json(lines.ToDataSourceResult(request));
        }

Javascript function:
extraLogData: function () {
        var dropdownlist = $("#ddLogFiles").data("kendoDropDownList");
        return { fileName: dropdownlist.value() };
    }

Javascript correctly returns the fileName parameter, but the controller's fileName parameter is now always null. 
And as I said it works in  2013.3.1119 .
Looking into the raw HTML request  I'm no longer see fileName as a part of the Form data.






Shawn
Top achievements
Rank 2
 answered on 27 Jan 2014
1 answer
4.4K+ views
Hello team, we are facing issue where we want to insert a summary row below the grid, that also with the space between the grid and the summary row.

This row will contain
1. Custom text
2. addition resulting value column wise
3. jscript, so that editing the value in upper grid changes in addition of the summary row.

grid is model binded.
Please give your response to acheive this ASAP please.
  
Jono
Top achievements
Rank 1
 answered on 27 Jan 2014
2 answers
68 views
Hi

Your search " Grid " did not match any documents. Suggestions:Make sure all words are spelled correctly.Try different keywords.Try more general keywords.

Your search " Datetime " did not match any documents. Suggestions:Make sure all words are spelled correctly.Try different keywords.Try more general keywords.

I cant get any hits, even with words i know are in some of the threads here.

Cheers
Bonsak
Dimo Mitev
Telerik team
 answered on 27 Jan 2014
8 answers
355 views
Hi,

setting the background as transparent:

chartArea: {
    background: "transparent"
},

works like a charm in IE9 and FF but doesn't work in IE7 or 8.  They both set the background a solid black instead.

Thanks.
Iliana Dyankova
Telerik team
 answered on 27 Jan 2014
1 answer
334 views
Ive noticed that my Kendo grid does some kind of polling against the server, it looks like this and happens every 5 seconds. Where can I control/turn this off?

http://localhost:50456/5a3dbb1045da45e88a09debc50b20359/arterySignalR/poll?transport=longPolling&connectionToken=AQAAANCMnd8BFdERjHoAwE%2FCl%2BsBAAAAzVOHoG9HskaElCdveVM%2BkQAAAAACAAAAAAADZgAAwAAAABAAAADZt2LgJhM8QT13N%2F%2BQfR%2B7AAAAAASAAACgAAAAEAAAAA%2BrGvEsdlnr6SSC9ps4PjQoAAAAUhhG5AZL5iPFiAkuJM0arwbNvjLSmGrtXu4uNjEfxuQmkKlH0%2FV1DxQAAACum6YeM4xVaQaE9FaawENru3KAMQ%3D%3D&messageId=d-8C9AEF99-Ct%2C0%7CCu%2C4%7CCv%2C0&requestUrl=http%3A%2F%2Flocalhost%3A50436%2F&browserName=Firefox&tid=5&_=1390612684802
Atanas Korchev
Telerik team
 answered on 27 Jan 2014
1 answer
136 views
Hi,
Would you please update kendoui grid command to be generic opposed to be bound to a tag. That way we can have buttons or a tags used to respond to user actons.
As I see it you would only have to change code below from

if (editable.update !== false) {
    that.wrapper.on(CLICK + NS, "tbody>tr:not(.k-detail-row,.k-grouping-row):visible a.k-grid-edit", function(e) {
        e.preventDefault();
        that.editRow($(this).closest("tr"));
    });
}

to

if (editable.update !== false) {
    that.wrapper.on(CLICK + NS, "tbody>tr:not(.k-detail-row,.k-grouping-row):visible .k-grid-edit", function(e) {
        e.preventDefault();
        that.editRow($(this).closest("tr"));
    });
}

Thanks.
Alexander Popov
Telerik team
 answered on 27 Jan 2014
1 answer
3.0K+ views
Hi,

I was wondering what the difference between the Combo Box widget and the Drop Down List widget are.
At first glance they seem to both be the exact same thing.

Can someone explain what the difference between the two are? What  are their intended purposes?
And give an example on when I'd choose one over the other?

Thanks
Atanas Korchev
Telerik team
 answered on 27 Jan 2014
1 answer
122 views
Context:
1. virtual scrolling enabled in the grid
2. pagesize = 10

Steps to reproduce:
1. Call the removeRow 5 times
2. Now scroll to the bottom of the grid so new records are pulled in

Expected:
The row pages in the next set of records (rows 6-15)

Actual:
The browser crashes. I don't see an error logged in Chrome

Alexander Popov
Telerik team
 answered on 27 Jan 2014
1 answer
160 views
hello I'm looking for a simple mvc example of crud ( insert update delete )
example image :

 http://i.hizliresim.com/eQW5p3.png

and How can I add them to the ComboBox TextBox image? ( kendo css style )
or

this

kendo 
sample form
https://www.telerik.com/login.aspx?ReturnUrl=http%3a%2f%2fwww.telerik.com%2faccount%3f

thank you

Petur Subev
Telerik team
 answered on 27 Jan 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
Drag and Drop
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
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
Licensing
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
+? more
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Marco
Top achievements
Rank 4
Iron
Iron
Iron
Hiba
Top achievements
Rank 1
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
Max
Top achievements
Rank 1
Veteran
Iron
Alina
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?