Telerik Forums
Kendo UI for jQuery Forum
4 answers
189 views

Hello,

I was looking today at the blog post http://www.telerik.com/blogs/please-respect-the-back-button

when running the sample http://jsbin.com/OHemASes/3 i was able to see that pressing back button after navigating to the "Orders" links works as expected when 

moving between pages.

However, after moving to a specific page I have copied the url (http://output.jsbin.com/OHemASes/3#/orders/5) and paste it to a new browser instance.

The router did direct the app to Orders view but the selected page was 1.

Shouldn't page 5 supposed to be selected in this scenario ?

thx

Sagi

 

Alex Gyoshev
Telerik team
 answered on 25 Dec 2015
2 answers
1.1K+ views

Hi

How to make column of Grid for the password in a kind " *****  "

@(Html.Kendo().Grid(Model)
    .Name("Grid")
    .Columns(columns =>
                 {
                     columns.Bound(p => p.password)
...


Eyup
Telerik team
 answered on 25 Dec 2015
1 answer
1.9K+ views

There is one requirement where I need to sort column data on custom order. by default kendo grid support either ascending or descending order. is there any work around where I can sort data by custom order.

i.e. there is status column in the grid and data is grouped by this column and its possible values are -  Critical (1), Suspect(2) and ok (0) and the requirement is data should be sorted like Suspect, ok and critical. this order is neither ascending or descending (by status name or status id).

Thanks,

Dharmesh

 

 

Viktor Tachev
Telerik team
 answered on 25 Dec 2015
3 answers
171 views

Please see the attached image for an example.

Is there a way I can get rid of or hide the extra header cells in the row area?

For example, let's say my data source is a JSON object similar to:

[{"MAIN NAME": "MAIN NAME 2", "SUBNAME": "SUBNAME 1}, {"MAIN NAME": "MAIN NAME 2, "SUBNAME": "SUBNAME 2"}]

For example,  can I combine the cells for SUBNAME and SUBNAME1?

As it is, the extra MAIN NAME and SUBNAME cells being rendered are taking up a lot of horizontal real estate.

Thanks

Alex Gyoshev
Telerik team
 answered on 25 Dec 2015
1 answer
396 views

I am using Kendo Commercial - 2015.3.1111.

I am using the following widgets/frameworks in SPA-architectured application.

jQuery 2.1.4

Kendo Router

Kendo View

Kendo Layout

Kendo MVVM

RequireJs

RequireText - For loading external views

Kendo Grid,Window,ComboBox

When the Grid's filter mode is set to Row, there are several k-list-containers (k-popup also) that are appended outside of my View's top level HTML element, but are appended in the BODY element.  This same behavior happens for the Kendo ComboBox.  However, the Kendo ComboBox has an option named AppendTo that allows the auto-generated elements to be placed in the View's top level element.

Is it possible to set an option (appendTo?) on the Grid that will place these auto-generated elements in the container of my choice?

 This would allow the DOM to remain "cleaner" without having to destroy the View.  Perhaps, destroying the view is the intended action.  If so, I am also struggling with re-initalizing the View when it is subsequently navigated.

 Example of ComboBox with AppendTo:

HTML:

<input id="timeZoneInfoId" data-bind="source: timeZones, value: selectedUser.timeZoneInfoId" style="width:100%" />

JavaScript: (this is in the View's Init event) (#viewMaintenance is the top level View element)

$('#timeZoneInfoId').kendoComboBox({
                dataTextField: 'name',
                dataValueField: 'timeZoneInfoId',
                popup: {
                    appendTo: $('#viewMaintenance')
                }
            });

 My Grid:

HTML:

<div id="gridMaintenance"
         name="gridMaintenance"
         data-role="grid"
         data-selectable="row"
         data-scrollable="true"
         data-sortable="true"
         data-editable="false"
         data-filterable="{mode: 'row'}"
         data-columns="[
            { field: 'tenantUserId', title: 'User Id' },
            { field: 'firstName', title: 'First Name' },
            { field: 'lastName', title: 'Last Name' },
            { field: 'isActive', title: 'Active'}
        ]"
         data-bind="source: users, events: {change: gridSelectionChange}"
         data-auto-bind="false"
         data-toolbar="[{template: kendo.template($('#gridToolbar').html())}]">
    </div>

Thanks for your help,

Ben

Alex Gyoshev
Telerik team
 answered on 25 Dec 2015
7 answers
155 views
I've been using the editor since the 2013 q2 version without any problems , after the upgrade to the last 2015 version when a text containing tab is pasted the tabs are stripped, using the dojo I've tested with the old version and is fine with the new versione is broken. Any idea ?
Alex Gyoshev
Telerik team
 answered on 25 Dec 2015
1 answer
118 views
Hello,
How to show different month with different color based on some condition using MVC gantt control via razor.
Bozhidar
Telerik team
 answered on 25 Dec 2015
3 answers
300 views

Is there a way to scroll the body of the treelist table and have the header and footer stagnant?  We use this table for large numeric datasets and users have to scroll to the bottom of the table to see totals.  I like how the kendo grid handles scrolls.

Any help, workarounds, etc., would be much appreciated.

Thanks

T

Dimiter Madjarov
Telerik team
 answered on 25 Dec 2015
1 answer
299 views

Hi,

I have a Kendo grid reading from a DataSource that maps to some JSON returned from our application's API. The JSON contains some main objects which can have zero or more subobjects, like this:

[
  {
    "itemId": 123,
    "text": "blah",
    "subItems": [
      {
        "subItemId": 1,
        "subItemText": "foo"
      },
      {
        "subItemId": "2",
        "subItemText": "banana"
      }
    ]
  }, ...
]

 Using DataSource.schema.model I can easily define the data types for the fields in the main objects:

var dataSource = new kendo.data.DataSource({
  schema: {
    model: {
      id: 'itemId',
      fields: {
        itemId: { type: 'number' },
        text: { type: 'string' }
      }
   });

How do I go about defining the model for the fields in the subitems?

Thanks for any help,

 

Nigel

Eyup
Telerik team
 answered on 25 Dec 2015
2 answers
494 views

What is the max number of columns allowed in the spreadsheet?

Unless I am doing something wrong, I am only able to go out to column "AX".

Our use case will have over 300 columns in some cases. Is this possible?

Kiril Nikolov
Telerik team
 answered on 25 Dec 2015
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?