Telerik Forums
Kendo UI for jQuery Forum
1 answer
129 views

I have an HTML table that I'm creating a grid from, but I'm not able to change the height. The grid is within a splitter and the splitter pane has a div before the grid but I don't think this is causing the problem. Even without the splitter, I'm not able to size the grid to fill the window.

 

Example:

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

 

References:

Resize and Expand the Kendo UI Grid to 100% Height

Expand Grids to Match the Height of TabStrip Containers within Splitter Panes

Marin Bratanov
Telerik team
 answered on 19 Jul 2018
2 answers
2.0K+ views

Where am I able to place a jQuery success or fail event on the save event of the Grid that uses a dataSource?




Eva
Top achievements
Rank 1
 answered on 19 Jul 2018
8 answers
845 views
Hi. Is there a way to specify which fields are shown in the spreadsheet when binding to a datasource?  I tried excluding a field in schema.model.fields but the spreadsheet still displays all the fields as columns.  Also, is there a way to specify the order that the columns appear?
Dimitar
Telerik team
 answered on 19 Jul 2018
3 answers
4.6K+ views
Is it possible to remove a specified filter from he datasource in javascript.  I would like to dynamically add/remove a filter after checking/unchecking a checkbox.

for example:

var filters = datasource.filter();
for(i=0;i<filters.length;i++){
    ...
    [conditional code here]
    ....
    filters[i].splice(i,1);
}



Stefan
Telerik team
 answered on 19 Jul 2018
2 answers
185 views

Hi - I have columns that I want to show in the ColumnMenu:columns or not based on a variable.  What I have right now on the column definition is " menu: false," but in some cases I do want the column to show up.  I tried making it a function, not even checking the variable yet:

                    menu: function (e)
                    {

                        return false
                    },

which doesn't work.  Is there a way to do this?

Thanks

Lisa

 

 

 

 

Lisa
Top achievements
Rank 1
 answered on 18 Jul 2018
6 answers
137 views

Hello

I have 2 topics concerning the KendoUI Upload Widget:

1. Drag of uploaded image in Safari browser (Mac) starts upload

I have a DIV area onto which users can upload images. In the background I create a thumbnail of that and display it in the mentioned DIV area. Recently I realised in Safari browser (Mac) that if I drag such a displayed thumbnail onto that DIV it will upload that thumbnail too as an image and therefore a copy will be created. I would like to avoid that. Let's say:

- Ok: Drag images from outside into upload DIV
- Not ok: Drag thumbnail displayed in the DIV onto the same DIV that starts an upload

Since this "problem" exists not in Firefox and Safari I assume this is a browser behaviour. Question is if I can check whether a thumbnail will be re-uploaded or an image from outside.

2. Case sensitive upload validation

I have created a filter upload be restricting to specific image types:

allowedExtensions: ['.jpg', 'jpeg', '.png', '.gif', '.svg', '.mp3', '.mp4'],

It works fine and does what it should. Recently a customer told me he can't upload his JPG-File. I checked that and found out that the extension was uppercased (.JPG). After renaming his image to 'xxx.jpg' I was able to upload the image. That tells me that the extension check is case sensitive. Of course I have enhanced the allowedExtenions list with all valid image extensions in upper case which will cover most situations. But what if someone wants to upload an image called 'image.Jpg'? Technically it is correct but will be prohibited. 

All over: If it doesn't break the KendoUI security rules it would be nice if the extension check is not checking for case sensitive. 

Regards

Plamen
Telerik team
 answered on 18 Jul 2018
5 answers
820 views

I have used Kendo Grid in my project, i need access values in each row, row wise. And need to compare the values between two columns. 

For example:-

 Student ID     Student Name  Student Physics StudentChemistry

   1                       xx                       44                         33

   2                        yy                        55                         66

The marks between two columns is required to be compared, and have to highlight the cell which contain less value.

Any row wise data iteration example would be helpful.

Thanks in advance.

Dipak

 

dipak
Top achievements
Rank 1
 answered on 18 Jul 2018
1 answer
549 views

Hello,

I have a case when I want to have different behavior for clicking when user have clicked with control key pressed. Unfortunately I have no information on data which is passed to 'change' handler. Is there a way to obtain this information and have condition in logic depending if ctrl key is pressed or not?

Preslav
Telerik team
 answered on 17 Jul 2018
1 answer
1.5K+ views

Hi I add overflow-x: scroll to my grid and I get something odd, the scroll are cut in the middle of grid.

if I want to fix that in need to set width in px way I need to do that???(Look at the picture attached)

If there is another option I would love to hear. 

 

 

 

Peter Milchev
Telerik team
 answered on 17 Jul 2018
2 answers
97 views

I have a kendo grid with no datasource specified. Items get added to the grid via a javascript function:

 

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

grid.dataSource.insert(data);

 

After items are added to the grid, if I call grid.saveAsExcel(); nothing gets exported and the grid get's cleared out.

 

What approach should I use to get the data to export?

 

No server call should be needed for this at all. I just want to export the items that have been added via javascript.

 

Eyup
Telerik team
 answered on 17 Jul 2018
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
Chat
MultiColumnComboBox
Dialog
DateRangePicker
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Accessibility
Effects
PivotGridV2
ScrollView
Switch
TextArea
BulletChart
Licensing
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
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
SegmentedControl
+? more
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
Top achievements
Rank 2
Iron
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Boardy
Top achievements
Rank 2
Veteran
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
ivory
Top achievements
Rank 1
Iron
Iron
Rob
Top achievements
Rank 3
Bronze
Bronze
Iron
ClausDC
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?