Telerik Forums
Kendo UI for jQuery Forum
1 answer
11.1K+ views
Hi,
How can I allow only integers in a NumericTextBox?

I've tried the following and it didn't work:
<input data-role="numerictextbox" data-format="0" data-decimal="0" data-min="0">

Appreciate your assistance.

Best regards
Bilal Haidar
Georgi Krustev
Telerik team
 answered on 15 Nov 2016
1 answer
6.3K+ views

Hi,

I'm relatively new to Kendo MVC Grid and in the middle of building a new app with it...

I know that it is possible to delete a record if I use the "removeRow" from Kendo Grid if a have a reference to the current row i.e:

var grid = $(gridname).data("kendoGrid");
var tr = $(e.target).closest("tr");
grid.removeRow(tr);

but what if I have no reference to the current row (e.target) because I want to delete a selected row from another popup view (see Picture)?
the following Code does'nt work:

var grid = $("#grid").data("kendoGrid");
var dataitem = grid.dataItem(grid.select());
grid.dataSource.remove(dataitem);
grid.dataSource.sync();

 

please give me the info how is the best approach to remove a selected row from grid in my Situation?

regards robert

Robert Madrian
Top achievements
Rank 1
Veteran
Iron
 answered on 15 Nov 2016
4 answers
304 views

When arrowing through the items in a simple listview, sometimes it will be announced by a screen reader (NVDA) whether the item is selected.  For example:

Aniseed Syrup not selected 3 of 4

Sometimes this information is not included in the feedback, for example:

Aniseed Syrup 3 of 4

It seems that feedback that an item is "selected" is never provided.  It also seems that I start getting the not selected feedback after an item is selected and then unselected (but not if the item has never been selected) It seems that the aria-selected attribute is set correctly in all cases, I'm just not getting the feedback I'm expecting.  I'm providing a link to a dojo that I put together.  Any idea why I'm not consistently getting feedback similar to:

Aniseed Syrup (not) selected 3 of 4

?

Thanks!

http://dojo.telerik.com/UcAmUf/3

Stefan
Telerik team
 answered on 15 Nov 2016
1 answer
188 views

TreeList Column Resize work fine in LTR mode but it doesn't  work properly in RTL Mode
try resize columns in this example :

http://dojo.telerik.com/OHUje

is there any fix code for this bug ?

Kiril Nikolov
Telerik team
 answered on 15 Nov 2016
2 answers
102 views

I have run across a problem with the map widget when you pan the view and then call show() on a tile layer.

 

I have a link to a dojo that should reproduce this. First pan the map and then click the "show()" button.  When you do this the map image will move in the same direction that you just panned it.  This happens on both chrome and ie.

odd map dojo

Ianko
Telerik team
 answered on 15 Nov 2016
6 answers
1.5K+ views

I am using angular and have the following inside and ng-repeat:

<input kendo-time-picker ng-model="d.offDuty" k-interval="15" required /> {{d.offDuty}}

When I select say 7:00 AM the value of {{d.offDuty}} is: "2016-11-08T12:00:00.000Z"

I want the value to include the timezone (EST).  Two questions: Why is the timezone stripped and how do I get it to use the timezone?

Stefan
Telerik team
 answered on 15 Nov 2016
4 answers
256 views

I am using transport.cache for in-memory caching as described here: http://www.telerik.com/forums/query-caching#wDRMJ8_URkaUjJjENfnBcQ

I am converting my existing JavaScript to TypeScript, and here is the code I am using.

var dataSource = new kendo.data.DataSource({
    type: "webapi",
    transport: {
        read: "../api/companies/",
        cache: "inmemory"
    },
    schema: {
        data: "data",
        total: "total",
        errors: "errors"
    }
});

TypeScript won't compile the code because the cache property is not included in the DataSourceTransport interface.  Is this something that can be fixed?  If there is a different way I should be going about this, please advise.  For now, I've just modified my local copy of the definition file.

Thanks,

Joel

 

 

Joel
Top achievements
Rank 1
Iron
 answered on 15 Nov 2016
1 answer
155 views

Currently i am using kendo ui hierarchical . I try to passing ID through url but its not working .

The the problem will solve if  can  get value from filter . 

How do i get value from filter which looking 

filter[filters][0][Value_ID]:1472.

 

Alex Hajigeorgieva
Telerik team
 answered on 14 Nov 2016
1 answer
210 views

Hi, 

I have a DataSource thats performing CRUD for a grid of data. However in my destroy service when a data item is 'deleted', its either deleted or deactivated. My service can return a string, but then the DS 'requestEnd' event doesnt register the destroy response because the response is not the original object or blank.

I need a way for my service to communicate in the response whether a record was deleted or deactivated, Please advise.

Thanks and kind Regards,
Grant

Dimiter Topalov
Telerik team
 answered on 14 Nov 2016
2 answers
1.4K+ views

Hello,

I would like to select a row with JavaScript without triggering the change event, but it should fire when a mouse click is selecting a row. How can I do this? When I google I saw that in the past that the JS select and change trigger was seperated.

With kind regards,

Cees

Cees
Top achievements
Rank 1
 answered on 14 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
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
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
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Top users last month
Miljana
Top achievements
Rank 2
Iron
Iron
Joel
Top achievements
Rank 3
Bronze
Bronze
Bronze
Cynthia
Top achievements
Rank 1
John
Top achievements
Rank 1
Iron
Mozart
Top achievements
Rank 1
Iron
Veteran
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?