Telerik Forums
Kendo UI for jQuery Forum
2 answers
373 views

Hi Team,

I have requirement where i want editable kendo grid in which i have one column  (Values) in which i want to show the date ,number and text values.depending on the datatye it should change control of that cell accourding to datatype of that value .i'm able to show these value but at the time of editing i facing issue like values are not visible in the cell something like that if i forced column type either to string or datetime,

please suggest some working example 

 

Thanks in advance.

Viktor Tachev
Telerik team
 answered on 27 Dec 2018
3 answers
2.2K+ views

I am working on a page that progressively adds server content as the user provides more information. So there are a lot of chunks of UI being appended and replaced in the UI. I just noticed that when I remove one div, via jquery's .remove function, the div.k-calendar-container.k-popup for some date pickers that were descendants of the div are not being removed and are accumulating at the bottom the page.

In regards to separation of concerns, at the point in my javascript that I am removing the parent element, I don't necessarily want that code to have to know that there are kendo datepickers inside or to have to care about what the contents are at all. Is there a best practice to make sure that kendo widgets are cleaned up/destroyed when they are indirectly removed from the DOM like this?

Marin Bratanov
Telerik team
 answered on 26 Dec 2018
3 answers
266 views
I have a Columns Chart which shows all data on initial page load. User has the option to change the data query by selecting checkboxes which are read when the chart does datasource.read().
The problem is that if the data is empty the category axis is not emptied. Instead it just shows the previous axis without any data. Is there a way to for the chart to redraw category axis?
Preslav
Telerik team
 answered on 25 Dec 2018
17 answers
835 views

Hey,
I'm having a problem while tryign to use webpack + angularjs + kendo ui in my application.

While trying to use the kendo combo box, an exception raised (through chrome console):

"The Kendo UI directives require jQuery to be available before AngularJS. Please include jquery before angular in the document.".

I've read those issues (which didn't help me at all):
https://github.com/telerik/kendo-ui-core/issues/1932
http://stackoverflow.com/questions/39499716/how-to-use-kendo-ui-core-with-webpack-and-es2016

My code can be downloaded through Github:
https://github.com/amityaniv4/CheckSomething/tree/master

 

Thank you for helping :)

Mohan Krishna
Top achievements
Rank 1
 answered on 25 Dec 2018
2 answers
832 views

Hi,

a Toolbar  Button  without url is created as <a href="" ...

See http://dojo.telerik.com/aBiHumiR and inspect the button in toolbar1.

For the browser this is a link and the user can open the context menu for the links (open in new tab/windows, ...)

And in my css I have styles for links (i.e. a:any-link ) which will also apply to <a href="". For this I could exlude the button with a:any-link:not(.k-button).

But it would be better, that href="" is ommited if no url is defined. So I remove it in toolbar2 with
$("#toolbar2 a").removeAttr("href");

And this not work for the buttons in the overflow menu - make the run pane smaller in the dojo.

Is there an option in kendoToolBar / type="button" to omitt href="" ?

Peter

 

 


Peter
Top achievements
Rank 1
 answered on 24 Dec 2018
8 answers
626 views
Is it possible to set the CSS properties of the tooltip div?  It would be nice to be able to set a max-width, z-index, etc.
Preslav
Telerik team
 answered on 24 Dec 2018
3 answers
224 views

Hi,

Is tooltips available for connections in diagram ??. I have found tooltips for shapes. Do we have same kind of feature in connections too ? It seems content template available for connections but tooltips are not available

Konstantin Dikov
Telerik team
 answered on 24 Dec 2018
3 answers
277 views

Hello, I have this sub-grid.  I'm trying to use the row ID (which appears fine on the actual row) .. but is null when I try to use it in the hyperlink inside a ClientTemplate

Any help?

 

<script id="criticalTopicsTemplate" type="text/kendo-tmpl">
@(Html.Kendo().Grid<DashboardViewModel>()
 .Name("grid_#=TopicID#")
 .Columns(columns =>
 {
 columns.Bound(cr => cr.CTID); // <-- CTID does appear here and on the grid
 columns.Bound(cr => cr.CTTitle).Title("CT Name");
 columns.Bound(cr => cr.CTStatus).Title("Status");
 columns.Bound(cr => cr.CTPercentComplete).Title("Percent");
 columns.Bound(cr => cr.CTEnd).Title("Target");
 columns.Bound(cr => cr.CTCertified).Title("Certified");
 columns.Bound(cr => cr.CTOwner).Title("Owner");
 columns.Bound(cr => cr.CTExecStakeholder).Title("Stakeholder");
 columns.Bound(cr => cr.OpenPRs).Title("Open PRs");
 columns.Bound(cr => cr.CompletedPRs).Title("Completed PRs");
 columns.Bound(cr => cr.OtherPRs).Title("Other PRs");
 columns.Command(command => command.Custom("Details").Click("showDetails")).Title("Critical Topic Details");
 columns
 .Bound(cr => cr.CTID)
 .Template(@<text></text>)
 .Title("Actions")
 .ClientTemplate("<a href='http://<link-info-here>/DispForm.aspx?ID=#=CTID#' target='_blank' class='k-button link'>View</a>" + // CTID = null
                 "<a href='http://<link-info-here>/EditForm.aspx?ID=#=CTID#' target='_blank' class='k-button link'>Edit</a>");  // CTID = null

 })
 .DataSource(dataSource => dataSource
 .Ajax()
 .Read(read => read.Action("GetCriticalTopics", "Hierarchy", new { title = "#=TopicTitle# " }).Data("filterOptions"))
 .PageSize(20)
 )
 .Pageable()
 .Sortable()
 .ClientDetailTemplateId("partnerTemplate")
 .ToClientTemplate()
)
</script>

Jorge
Top achievements
Rank 1
 answered on 21 Dec 2018
1 answer
1.7K+ views

I'm currently using Kendo UI with jQuery and have a line graph being rendered from a kendoChart object. I've noticed that the category axis (x axis) min and max date renders entirely based off of the data that is returned, using the earliest date as the starting point and latest as the end point. For the life of me, I can not find a way to manually set the start and end date on the chart before it renders. On the flipside, I was able to find where you set the value axis (y axis) min and max by using the chart.dataSource.options.valueAxis.min/max object.

Am I doing something wrong? Is this possible to do or is it unsupported?

Tsvetina
Telerik team
 answered on 21 Dec 2018
1 answer
116 views

I am using a grid to display system user information and have followed the guide for "Edit Records Using External Forms"

I need to implement a drop down editor for a few of the data fields associated with the user (country, userGroup, Roles) and have been struggling to accomplish that goal. 

When I select a user I am using MVVM to populate the fields with the existing information.

This works great for text fields. But fields that require a drop down, will populate with the data source options but will not start with the correct selection already associated with the user.

I hope this is enough information to convey my issue. Let me know if I can provide anything else. 

 

 

 

<input data-role="dropdownlist"
       data-text-field="name"
       data-value-field="groupID"
       data-bind="value: selected.groupID,
                  source: loginGroupsDS"
/>
 
...
 
var userViewModel = kendo.observable({
...
        loginGroupsDS: new kendo.data.DataSource({
            transport: {
                read: {
                    type: 'POST',
                    dataType: 'json',
                    url: crudServiceBaseUrl+'getLoginGroups'
                }
            },
            schema: {
                data: "groups"
            }
        }),
        selected: {},
...
}
 
// where selected contains the data from the select grid row
 
// loginGroupsDS returns data in the form
groups: {[
    {groupID: 2, name: "Administrator"}

 

    ]}

 
// userViewModel.selected has the same form
selected.groupID: {groupID: 2, name: "Administrator"}
Tsvetina
Telerik team
 answered on 21 Dec 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?