Telerik Forums
Kendo UI for jQuery Forum
1 answer
203 views

Hi Telerik,

Is it possible to set the width of event A to 80% and width of event B to 20% ?

Thanks

 

Dimitar
Telerik team
 answered on 21 Sep 2017
1 answer
514 views

The user story:  

- I hit the NEW (Insert) Button in the Grid toolbar.  (k-grid-add)

- After inserting the data in the Popup editor, I hit the k-grid-update Button in the Popup editor.

- The Popup editor should stay open with a new record, or at least auto-reopen, so I can go on with entering the next record.

 

Is there a way to have an "insert and add another row" Button to stay in the Popup editor?

I tried all combinations of addRow from the Grid API, but I allways get an Uncaught TypeError

 

kendo.all.js:10682 Uncaught TypeError: Cannot read property 'uid' of undefined

    at init.cancelRow (kendo.all.js:10682)
    at init.editRow (kendo.all.js:10401)
    at init.addRow (kendo.all.js:10876)
    at Object.complete (index:3034)
    at i (jquery.min.js:2)
    at Object.fireWith (jquery.min.js:2)
    at y (jquery.min.js:4)
    at XMLHttpRequest.c (jquery.min.js:4)

 

Thanks for the support.

 

 

JanLeu
Top achievements
Rank 1
 answered on 21 Sep 2017
1 answer
462 views
I do apologize in advance for the bad post

I am implementing a kendo grid for filtering information, My first filter is giving me so much issues and i now have to ask forum because nothing works that i try.

Issues:

1. When selecting filter on the column below, I can not focus on the numericTextBox to input values I am forced to use spinners only.

2. When using spinners its history is always off by 1, Example: I click it twice (Up) and the value = 2. When I filter the row returns No: 1 and when inspecting the filter it is now 1 and not 2.

Code Grid:

 @(Html.Kendo().Grid<DeBeers.Seals.Web.Models.SearchSealsModel>()
                            .HtmlAttributes(new { @style = "-ms-overflow-x: scroll !important" })
                            .Name("grid")
                            .DataSource(dataSource => dataSource
                              .Ajax()
                             .Read(read => read.Action("Read", "SearchSeals"))
                            )
                            .Columns(columns =>
                            {
                                columns.Bound(b => b.SealNum).Filterable(filterable => filterable.UI("sealNumFilter"));

    })
                            .Pageable()
                            .Sortable()
                            .Filterable(ftb => ftb.Mode(GridFilterMode.Menu))



Code Script:

function sealNumFilter(element) {
                debugger;
                element.kendoNumericTextBox({
                    decimals: 0,
                    format: "n0",
                    //spinners: false,
                })
                //    .focus(function () {
                //    var input = $(this);
                //    setTimeout(function () {
                //        input.select();
                //    });
                //});
            }
Viktor Tachev
Telerik team
 answered on 21 Sep 2017
11 answers
432 views
Hi:

I recently added a forum post, but attached the wrong image.  How do I remove the image?

Phil
Veselin Tsvetanov
Telerik team
 answered on 21 Sep 2017
2 answers
382 views
Which files does mediaplayer support?
Preslav
Telerik team
 answered on 21 Sep 2017
1 answer
178 views

As per the documentation, we can filter the datasource with only one logic: either "or" or "and". I need to filter as per the following logic:

(condition 1) and ((condition 2) or (condition 3))

Is it possible?

If not, is there in the operator something like "in" so that I can do the following logic:

(condition 1) and ( x in ("value 1", "value 2"))?

 

Tsvetina
Telerik team
 answered on 21 Sep 2017
2 answers
143 views

I have a grid

@(Html.Kendo().Grid<TaskViewModel>()
.Name("taskGrid")
.Deferred()

...

.Columns(columns =>
{
columns.Bound(e => e.CrmWorkflowStatusText).Title("WF Status").Filterable(x => x.UI("SomeFunction")
.Extra(false)
.Operators(k => k
  .ForString(str => str.Clear()
  .IsEqualTo("Is equal to")
  .IsNotEqualTo("Is not equal to")

)));
})

...

.DataSource(dataSource => dataSource

...

))

that has a dropdownlist to filter one of the columns

 

function SomeFunction(element) {

const checkBoxTemplate = '@(Html.Kendo().CheckBox().Name("#:Title#").HtmlAttributes(new { @class = "checkbox", onchange = "SomeOtherFunction(this)" }))';

element.kendoDropDownList({

dataSource: {

transport: {

read: "@Url.Action("SomeAction")"

}},

optionLabel: "Select Something",

dataTextField: "Title",

dataValueField: "Title",

open: adjustDropDownWidth,

template: "<span><label>" + checkBoxTemplate + "<span id='#= Title #'>#= Title #</span></label></span>"

});

}

My problem is setting the id of this dropdownlist. I tried

 name: "somename"

and

htmlAttributes: { id: "somename" }


hmtlAttributes does nothing and name: "somename" sets the data-role attribute to "somename"...

 <input title="Value" style="display: none;" type="text" data-role="test123" data-bind="value:filters[0].value">

Is there a way to fix this?

Rui
Top achievements
Rank 1
 answered on 21 Sep 2017
5 answers
315 views
The combination "groupable" and "selection" is not working. When I wrote the code like example(http://plnkr.co/edit/DlQCEsjJW55b5jffnG1b?p=preview) combination the function bring the incorrect index values.
onSelectionChange(event) { alert(event.index); }
Any idea ?
Dimiter Topalov
Telerik team
 answered on 21 Sep 2017
3 answers
279 views

Hello,

we use Kendo UI grid for Angular 2 and we found an issue with default kendo-string-filter. When text is entered into filtering cell the bound filter object is correctly updated,and reset filter button appears, thats fine.

When the text in filter is deleted one would expect filter reset button to disappear and given filter criteria (FilterDescriptor for that column) to be removed from filter object. That is not what happens however. When text is deleted (by backspace for example) he reset button stays visible and bound filter object still contains the FilterDescriptor for that column, just with value being '' (empty string).

Dimiter Topalov
Telerik team
 answered on 21 Sep 2017
1 answer
156 views

Hello,

I want to use autocomplete with popup position on top of it, here's an example: https://dojo.telerik.com/UraZa

Everything works fine for the first suggestion (first screenshot). The issue occures when suggestion content is updated: popup position is broken after that (second screenshot). Looks like "position" property of configuration is ignored.

I get this behaviour in every browser I tried (Chrome, IE, FF) with different versions of framework.

Any suggestions?

Thanks.

Ivan Zhekov
Telerik team
 answered on 20 Sep 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
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
ContextMenu
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
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?