Telerik Forums
Kendo UI for jQuery Forum
1 answer
253 views

I have a grid with all numbers (double) which is editable with 

.Editable(editable =>
{
    editable.Mode(GridEditMode.InCell);
})
.Navigatable()

 

At the moment I can use the tab key to edit a complete line of values, but I have to first manually delete the current values (backspace or del, depending on chrome vs firefox).

But I would like to automaticly select the current values in the cell. So the user only has to type the new values

 

Is this possible?

Maurice

Stephen
Top achievements
Rank 2
 answered on 24 Nov 2016
1 answer
345 views

Hello Kendo UI Team,

We are developing a grid with a column value as a link
this is the code:

columns: [{
    field: "OrderID",
    title: "ORDER #",
    template: function (data) {
        var url = getUrlWithLocale("/Account/OrderHistory/GetOrderDetails/");
        return "<a id='btnViewDetails' data-orderID='" + data.OrderID + "' href='" + url + data.OrderID + "/Ds'>" + data.OrderID + "</a>";
    }
},

 

It is working fine except because the link does not work, however if you use the right click and select the option open link in a new tab works fine,

Could you please assist with this issue?

Thanks in advance!

 

Ismael
Top achievements
Rank 1
 answered on 24 Nov 2016
2 answers
125 views

I am creating a datepicker range directive and would like to change the style in the range between the dates it contains in my model, for example between the date model.startDate and model.endDate I want to put a gray background, for this I am using the

month: {

    content: '<div class = \' # = isBetweenDates(data)? "k-state-hover": "" # \ '> # = data.value # </ div>';

}.

My problem is the function .. it only fills my function when I create in the global object .. window.isBetweenDates = function (data) {....

In this case, if I use two directives .. the second will overlap the first one because it will overwrite the method, since it is in the global scope ..

Is there any way I can link that function with each scope  directive that was created, so as not to impact each other? If there is more than one

I tried to make some forms, for example use $ compile and move to content but I can only pass string.

 

Thank You!! 

Stefan
Telerik team
 answered on 24 Nov 2016
1 answer
251 views

I have a grid which initially displays all data for my current remote query.  When a user clicks the 'Edit' button, the grid should be editable.  One of the columns will be a Kendo Dropdownlist displaying the possible selections.  I have attempted to recreate this below:

http://dojo.telerik.com/AJaKe

I could not fully create this scenario below as the dropdown is becoming locked upon clicking Edit.

My grid should have inline editing, a remote datasource, a Kendo Dropdownlist (upon clicking edit), have a remote datasource on the Kendo Dropdownlist and should have the ability to add a new row with the above requirements.

I need help modifying the above example to create the scenario I described.

Dimiter Topalov
Telerik team
 answered on 24 Nov 2016
4 answers
707 views

Hi, I have implemented a second custom "column filter" to hide columns that start with a certain string based on user selection - 

Columns: Aaron, Chris, Ashley, Ryan

My selector has options 'A', 'C', 'R' with checkboxes, when one is unchecked, it will hide all cols that start with 'A', for example. 

 

My issue is in the performance of this method when the grid has many (50+) columns, taking multiple seconds to fulfill this loop: 

var grid = $("grid").data().kendoGrid;

var columns - grid.columns

$.each(columns, function(i, el){

     

Dimiter Topalov
Telerik team
 answered on 24 Nov 2016
3 answers
213 views

Hi,

is there a sample or documentation how the Virtualization support without a value mapper works?

robert

Georgi Krustev
Telerik team
 answered on 24 Nov 2016
3 answers
1.1K+ views

Hello,

 

I have been unable to locate an example of how I would go about using kendo's data binding to bind a checkbox with a numeric column on my model, where 0 = unchecked, and 1 = checked.

 

Thanks

Stefan
Telerik team
 answered on 24 Nov 2016
12 answers
1.3K+ views

Hey guys,

I'm trying to apply a "dropdown" option for a few different columns in my table. Using the standard "string" and "number" operators if fine, but I want to apply specific dataset options to each of my particular dropdown filters. Examples similar to ["yes", "no"], or days of the week are the simple type of selections I want in the dropdown to then be applied as the filter for the column.

Using angular.

------------------------------------------------------------------

            $scope.GridOptions = {

                dataSource: new kendo.data.DataSource({

------------------------------------------------------------------

Above -how my grid is being created for reference purposes.

My grid has a {schema: {model: fields: {...}}} section, currently specifying the "type" of each column.

As well as a {filterable: {operators: {}}] area where I'm specifying the search options/order.

And finally the "columns" area where the specifics of each field are being specified.

 

I haven't been able to find an angular reference with a custom dropdown filter being used - I've only seen JQuery/javascript.

Stefan
Telerik team
 answered on 24 Nov 2016
11 answers
1.3K+ views

I have a Kendo grid that is created once the Ajax success event is triggered returning JSON data.  The grid displays and works as I would expect.  I have two buttons, one for Export to Excel and the other PDF - Excel works fine.  PDF just grays out the grid and displays an empty progress bar that is never filled.  The PDF is never generated. I have stripped all .js includes (and have also used the kendo demo versions of the .js files) and additional .css includes and yet the problem remains.  It won't work in IE (11) nor in Chrome.

 

<link href="kendo.common.min.css" rel="stylesheet"/>
<link href="kendo.default.min.css" rel="stylesheet"/>
<script src="jquery-1.11.3.js"></script>
<script src="kendo.all.min.js"></script>
<script src="jszip.min.js"></script>
<script src="pako_deflate.min.js"></script>
 

<div id="grid"></div>​

...
       
      $.ajax({
            url: <web service url>,
            type: 'POST',
            dataType: 'json',
            data: {<parameters>},
            success: function (_data) {
 
                var oTable = $("#grid").kendoGrid({
                    toolbar: ["pdf", "excel"],
                    pdf: {
                        fileName: "Kendo UI Grid Export.pdf"
                    },
                    excel: {
                        fileName: "Kendo UI Grid Export.xlsx"
                    },
                    dataSource: {
                        data: _data,
                        schema: {
                            model: {
                                fields: {
                                    ...
                                }
                            }
                        },
  
                    },
                    selectable: "single",
                    sortable: true,
                    filterable: true,
                    pageable: false,
                    scrollable: true,
                    height: 500,
                    columns: [
                            ...
                    ]
 
                });

 ...

Vladimir Iliev
Telerik team
 answered on 24 Nov 2016
1 answer
125 views

Hello,

We have a wide grid with horizontal scrolling, with 2 frozen columns. It is very wide (over 20 columns), so the horizontal scrolling is always needed.

We are using the Filter Row option to allow the user to filter. Works well, but if the user tabs between the filter fields, an issue arises. If the user tabs to a hidden field (hidden as in having to scroll to see it), then the header will scroll to accomodate, but the body will not. Likewise, if the user is scrolled all the way to the right and tabs out of the last frozen column, the scrolling again gets out of sync.

See the following Dojo example to experience the issue yourself.

http://dojo.telerik.com/iNONA/2

If anyone has any clue as to how to fix this issue, I'd appreciate it very much!

Thanks!

Alex Hajigeorgieva
Telerik team
 answered on 24 Nov 2016
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
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Shiori
Top achievements
Rank 2
Iron
Tien
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Rob
Top achievements
Rank 4
Bronze
Bronze
Iron
Geoff
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?