Telerik Forums
Kendo UI for jQuery Forum
13 answers
446 views

Hi, version kendo ui 2016.3.1118, using Russian localization (Turkish works equally) the setting:

.Filterable(filterable => filterable
        .Extra(false)
        .Operators(operators => operators
            .ForString(str => str.Clear()
                .StartsWith("Starts with")
                .IsEqualTo("Is equal to")
                .IsNotEqualTo("Is not equal to")
            ))
        )

simply does not work, instead of the three operators (specified in settings) displays all.  If you include the localization of the default(en-EN) is all works.
Full Code:

bundles.Add(new ScriptBundle("~/bundles/kendoJs").Include("~/Scripts/kendo/2016.3.1118/kendo.all.min.js")
                                                             .Include("~/Scripts/kendo/2016.3.1118/kendo.aspnetmvc.min.js")
                                                             .Include("~/Scripts/kendo/2016.3.1118/cultures/kendo.culture.ru-RU.min.js"));
<system.web>
    <globalizationculture="ru-Ru" uiCulture="ru-Ru" />
</system.web>
kendo.culture("ru-RU");
 @(Html.Kendo().Grid<CertificateDeath>()
    .Name("Grid")
    .Columns(columns =>  {
       columns.Bound(e => e.Name).Width(200);
        columns.Bound(e => e.NameShort).Width(350);
    })
    .Filterable(filterable => filterable
        .Extra(false)
        .Operators(operators => operators
            .ForString(str => str.Clear()
                .StartsWith("Starts with")
                .IsEqualTo("Is equal to")
                .IsNotEqualTo("Is not equal to")
            ))
        )
    .DataSource(dataSource => dataSource
        .Ajax()
        .Read(read => read.Action("List", "CertificateDeath"))
     )
    )
I would be grateful for any help.

Sergey
Top achievements
Rank 1
 answered on 15 Feb 2017
18 answers
1.6K+ views

Kendo grid does not export to excel with cell borders, someone has a solution ? Follow my code:

 .Events(x => x.ExcelExport("excelExport"))

<script type="text/javascript">
        function excelExport(e) {

var sheet = e.workbook.sheets[0];

            for (var i = 0; i < sheet.rows.length; i++) {              
                sheet.rows[0].cells[0].background = "#ffffff";
                sheet.rows[0].cells[1].background = "#ffffff";
                sheet.rows[0].cells[2].background = "#ffffff";
                sheet.rows[0].cells[3].background = "#ffffff";

                for (var ci = 1; ci < sheet.rows[i].cells.length; ci++) {
                    sheet.rows[i].cells[ci].color = "black";

                    sheet.rows[i].cells[ci].border = "black"; // HERE

                }

 }
  </script>

Mark
Top achievements
Rank 1
 answered on 15 Feb 2017
1 answer
112 views

Hi, I'm using a spreadsheet inside a kendo window. We have some columns with validation on them (type is set to 'reject'). So when the user tries to type something into this column, we get the reject window, however, its z-index is behind the Window the user is using. Is there a way to differentiate this reject window (we have 15 kendo windows) on the screen already?

Spreadsheet is attached, to show the reject window appearing partially behind the current window.

Nencho
Telerik team
 answered on 15 Feb 2017
8 answers
464 views
We've been pleased with the LESS support that Kendo UI provides with its themes. However, we want to move away from LESS to either SCSS or SASS. Are there any plans to provide themes in either of these formats soon?
Stefan
Telerik team
 answered on 15 Feb 2017
1 answer
2.5K+ views

Hi, Is there a way to fire the clear method of a kendo multiselect via a button click? I have ten multiselects, and need a way to quickly clear them all.

Thanks

Marc

Marc
Top achievements
Rank 1
 answered on 15 Feb 2017
6 answers
501 views
I would like to set the default option to OR instead of AND with extra is set to True.  How can I do that in Kendo UI MVC?
Freddy
Top achievements
Rank 1
 answered on 14 Feb 2017
1 answer
192 views

Hi,

I have a multi value axis chart with crosshair on both categoryaxis and valueaxis. CategoryAxis crosshair works as expected and moves along the data points, but value axis crosshair is freely moveable and I am not sure what intersect values its showing as tooltips (also shared tooltip here is not working). Ideally I expected to see multiple valueaxis crosshairs as I have multiple values axis and move along with data points, but its not so, there is not one for multiple plots and its freely moveable. Image attached (Crudely modified in paint for the actual expectation).

Stefan
Telerik team
 answered on 14 Feb 2017
4 answers
1.2K+ views

Hi,

In my project I am using the custom add row functionality where the row is a row template, I am  using the grid.dataSource.add(dataitem) method to add the model data for the empty row as I have to send the data from server to the empty row. Below are the problems I am facing

1. When I do grid.dataSource.add(dataitem) the row is always getting at the bottom of the table.

2. After adding the row I am intializing the controls like (datetimepicker,timepicker,select2 etc) for the added row, this works fine if I add row for first time. When I click again to add row with grid.dataSource.add(dataitem) the first row is loosing its initialization like datetimepickers, select 2 and others. So when I debug I found that every time I click add new row with dataSource.add() the table is again calling the rowTemplate function for all the data items in the datasource so the control initializations are getting destroyed.

So can you please help how to resolve those two. 

Dimiter Topalov
Telerik team
 answered on 14 Feb 2017
1 answer
121 views
I'm using a diagram in ASP.Net MVC that is very similar to the example here. However, I need the ability to change the content in the shapes depending on options selected on the screen. So, for example, I have a checkbox on the screen that will turn the pictures on or off. The same could be done with, for example, the name or position. Is there any way that this could be done? 
Tsvetina
Telerik team
 answered on 14 Feb 2017
17 answers
385 views

Hi:

Do you know when Kendo UI Professional build 2017.1.118 will be made available on your private nuget server?

Thanks

marc

Stefan
Telerik team
 answered on 14 Feb 2017
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?