Telerik Forums
Kendo UI for jQuery Forum
3 answers
269 views

Hi guys,

I have a requirement to re-implement grid grouping but instead of grouping within the grid itself, I need to generate a separate tree view outside of the grid element. The tree view side of it is fine, but I couldn't see any way that I could set the grid to be groupable (thus showing the groups bar) without grouping being applied to the grid itself. I tried preventingDefault on the group function but this prevented the columns being dropped onto the group bar itself as it seems to be something that occurs after the grid has refreshed.

So now, instead, what I'm trying to do is add a div outside the grid that I can use as a drop target for my grid columns to be dropped on to but this doesn't seem to be working

Here's the dojo: http://dojo.telerik.com/@mancmanomyst/AJoBIj

 

Could you point me in the right direction for allowing the grid columns to be dropped on my target div?

Alex Hajigeorgieva
Telerik team
 answered on 08 Dec 2016
1 answer
900 views

Enum class

public class Voltage
  {
      public int Id{ get; set; }
      public string RefNo { get; set; }
      public VoltageLevel VoltageLevel { get; set; }
  
  }
  public enum VoltageLevel
  {
      LV = 1,
      MV = 2,
      HV = 3   }

 

Controller

public ActionResult Voltage_Read([DataSourceRequest]DataSourceRequest request)
     {
         IQueryable<Voltage> voltage= db.Voltage;
         DataSourceResult result = voltage.ToDataSourceResult(request, voltage=> new {
             Id = voltage.Id,
             RefNo = voltage.RefNo,
             VoltageLevel = voltage.VoltageLevel,
         });
         return Json(result);
     }

 

View

@(Html.Kendo().Grid<entities.voltage>()
.Name("grid")
.Columns(columns =>
{
columns.Bound(c => c.RefNo);
columns.Bound(c => c.VoltageLevel); //here the voltagelevel didnt show.
})
Marin Bratanov
Telerik team
 answered on 08 Dec 2016
1 answer
923 views

Hi Team,

I want a horizontal form in between kendo grid header and body, Is it possible to add a form with same grid columns  in kendo grid. Please find the below attached screen shots for reference

 

Thanks,

S

Dimiter Topalov
Telerik team
 answered on 08 Dec 2016
1 answer
347 views

Hi,

 

is there a way to add a tooltip to category axis labels?

 

Thank you

Eduardo Serra
Telerik team
 answered on 07 Dec 2016
5 answers
851 views
Is there a way I can edit multiple cell values in the same column across multiple rows? Refer to the attached mocked up screenshot.

Any suggestions?
Dimiter Madjarov
Telerik team
 answered on 07 Dec 2016
1 answer
187 views

Is there a recommended way to implement deep linking of a TabStrip in an Angular application?

 

- the url should change when selecting a tab

- when an url is entered which contains a tab information, the corresponding tab should be activated

 

I am using the standard angular router.

 

Thanks a lot!

Ivan Danchev
Telerik team
 answered on 07 Dec 2016
1 answer
296 views

Hi,

     Is it possible to Add custom cell attributes to each cell in kendo spreadsheet.

For Eg: Apart from 

"rows: [{ height: 70, cells: [{ index: 0, value: "Invoice #52 - 06/23/2015", fontSize: 32, background: "rgb(96,181,255)", textAlign: "center", color: "white"}]}"

can we add a custom attribute like "CellType":"headers" to each cell. If yes then can you please guide me as to how it can be done.

 

Thanks & regards

Swathi

 

T. Tsonev
Telerik team
 answered on 07 Dec 2016
2 answers
261 views
Hi Team,

We are attempting to load a grid into the content of the first tab in a tab-strip. We had tried several variations of the code and how the grid loads, including via the "activate" event. The grid works with the tab-strip code commented out.

Please provide an appropriate solution for our problem as soon as possible.

Thanks,
Siva
Elton
Top achievements
Rank 1
 answered on 06 Dec 2016
6 answers
1.6K+ views
I have a stacked bar chart with the series labels visible.
But I only want the label to display if the series has a value greater than zero.

Here is my markup

@(Html.Kendo().Chart<ChartModel>(Model)
.Name("chart")
.Title("Pending Orders")
.Legend(legend => legend
.Visible(false)
)
.SeriesDefaults(seriesDefaults =>
seriesDefaults.Column().Stack(true)
.Labels(labels => labels.Background("transparent").Visible(true).Font("40px sans-serif").Position(ChartBarLabelsPosition.Center).Color("black"))
)
.Series(series =>
{
series.Column(model => model.OnTimeCount).Name("On Time").Color("Green");
series.Column(model => model.WarningCount).Name("Warning").Color("Yellow");
series.Column(model => model.AlertCount).Name("Alert").Color("Red");
})

.CategoryAxis(axis => axis
.Categories(model => model.Day)
.MajorGridLines(lines => lines.Visible(false))
)
.ValueAxis(axis => axis
.Numeric()
.Line(line => line.Visible(false))
.MajorGridLines(lines => lines.Visible(false))
)
.Tooltip(tooltip => tooltip
.Visible(true)
.Template("#= series.name #: #= value #")
)
)

I've attached an image of the stacked chart with the top series set to zero.  As you can see, the effect really isn't very intuitive from a charting stand point.  I could add a legend, but in the context of the way the chart will be used, it's unecessary.

The data is only relevant IF it exists.

Iliana Dyankova
Telerik team
 answered on 06 Dec 2016
2 answers
241 views

Is it possible to use the KendoUI for jQuery with Vue.js?

 

Thanks

Mike
Top achievements
Rank 1
 answered on 06 Dec 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?