Telerik Forums
Kendo UI for jQuery Forum
3 answers
120 views
The new Scheduler looks like a great start!  There are a few features I've seen in other commercial HTML5 scheduling components that that are worth mentioning (these are de riguer to us):

  1. Exposing methods/properties for controlling background cell painting in the appointment grid.
  2. Surfacing drag/drop/hover events on an appointment that is being dragged as well as on the background grid slots.
  3. Built-in support for a secondary appointment color (e.g., a vertical bar along the left edge of the appointment) tied to a distinct property of the developer's choosing (e.g., appointment status).  This can be handled with custom templates, of course, but it comes up often enough to be useful as a built-in feature.
Also, there are a couple of bugs in the current beta version relating to appointments that subtend the midnight boundary but are less than 24 hours long:

  1.  When moving the appointment, the transparent "shadow" used to indicate the drag position has time added to the end relative to the actual length of the appointment being dragged.
  2. When dragging an appointment to an earlier time such that it no longer subtends the midnight boundary, the appointment disappears(!)
Peter
Atanas Korchev
Telerik team
 answered on 22 Jul 2013
1 answer
223 views
Hi,

I am binding a div with the property "contentEditable"=true that is bound with data-bind="html: Message".  However, it appears to be a read only property since when I make changes to the div and then move off the div triggering the blur event, the Message property contains the original value.

Am I doing something wrong or is this just the way it is designed?

Thank you,
David A.
Atanas Korchev
Telerik team
 answered on 22 Jul 2013
2 answers
241 views
Hi,
How cab I add a scroll view on the fly.
I tried the attached code but it doesn't really work
Can you help ?
Sagi
Petyo
Telerik team
 answered on 22 Jul 2013
3 answers
278 views
I have Kendo grids that are html helper grids when I delete or add items to the grid then the item count doesn't update properly it tries to remove one from the count then instantly goes back to the original count after something is deleted.
Alexander Valchev
Telerik team
 answered on 22 Jul 2013
1 answer
525 views
I am trying to filter a  Kendo grid DateTime column but it is not returning any results because it takes into account the time part as well. Is there a way I can filter a column without it using the timepart. Is it possible to filter the column by dd/MM/yyyy instead of dd/MM/yyyy hh:mm:ss

  Below is my grid code

View
@(Html.Kendo().Grid<PaperworkViewRecord>()
                .Name("IncompleteStartersPaperworkGrid")
                 .Sortable()
                .Pageable(paging => paging.PageSizes(new int[]{10,25,50,100,200}).Numeric(true).Numeric(true).PreviousNext(true))
                .Filterable()
                .Groupable()
                 .ColumnMenu()
                .Columns(columns =>
                {
                    columns.Bound(o => o.FirstName).Title("First Name");
                    columns.Bound(o => o.LastName).Title("Surname");
                    columns.Bound(o => o.BirthDate).Format("{0:dd/MM/yyyy}").Title("Birth date");
                    columns.Bound(o => o.StartDate).Format("{0:dd/MM/yyyy}").Title("Start Date").Template(o =>DateExtensions.FormatDate(o.StartDate));
                    columns.Bound(o => o.FrameworkName).Title("Framework");
                    columns.Bound(o => o.FundingStreamName).Title("Funding Stream");
                    columns.Bound(o => o.Assessor).Title("Assessor");
                    columns.Bound(o => o.ProviderName).Title("Provider").Hidden(true);
                    columns.Bound(o => o.IsFunded).Title("Funded").Hidden(true);
                    columns.Bound(o => o.AgeAtSignUp).Title("Signup Age").Hidden(true);
                    
                })
                .EnableCustomBinding(true)
                  .DataSource(dataSource =>dataSource.Ajax()
                                                        .Read( read=>read.Action("GetIncompleteStartersModel_Read", "Compliance"))
                                                        .ServerOperation(true))
                                                        
                .Events(e=>e.DataBound("onIncompleteStartersPaperworkGridDataBound"))
                )

DataSourceResult method

 public DataSourceResult GetIncompleteSignupStarterPaperworkRecords(DataSourceRequest request)
        {
            var paperworkRecords = _paperworkRepository.FetchByType(PaperworkType.Starter.ToString())
                                                       .Where(x => !x.SignupComplete);
            var paperworkDtoRecords = paperworkRecords.ToDataSourceResult(request, m => m.MapToPaperworkViewRecord());
            return paperworkDtoRecords;
        }


Petur Subev
Telerik team
 answered on 22 Jul 2013
1 answer
84 views
When I click the "index" button in the example listed in the latest version, the entire example stops working. (kendoui.complete.2013.2.716.commercial\examples\mobile\drawer\index.html)
Petyo
Telerik team
 answered on 22 Jul 2013
1 answer
176 views
 What is this used for? I was expecting some older IE declaration, but its actually a basic CSS file. Why isnt this just updated in the main CSS for Kendoui

<!--This CSS entry was added by the Kendo UI VS Extensions for compatibility reasons-->
    <link href="@Url.Content("~/Content/kendo.compatibility.css")" rel="stylesheet" type="text/css" />
.k-grid th a
{
    position:static
}
 
.k-grid .k-grid-header th a
{
    padding: .5em .2em .4em;
}
 
html body
{
    border: 0
}
Any help is appreciated
Dimo
Telerik team
 answered on 22 Jul 2013
17 answers
1.7K+ views
Hi
As default, the filtering options of the Kendogrid are very comprehensive, which is good.
However, when using serverside filtering there is a lot of things to implement on the server to respond to all these options.

I would like omit "is not equal to", "Starts with" and "Ends with" operators - is this configurable?

Best regards
Thomas
Steven
Top achievements
Rank 1
 answered on 21 Jul 2013
1 answer
93 views
When a value is greater and equal to 0, I need the column to appear Green. Red when it's less than 0.

In the attached screenshot you'll see that the grid is always the default theme color or orange.

Html.Kendo().Chart(Model.Results)
    .Name("chartPCT")
    .Title("% Return")
    .Legend(legend => legend.Visible(false))
    .Series(series =>
            series.Column(model => model.Metrics.Return)
                  .Name(Model.ColumnTitle)
                  .Labels(false)
    )
    .ValueAxis(axis => axis.Numeric()
                           .Labels(labels => labels.Format("{0}%")))
    .CategoryAxis(axis => axis
                              .Categories(model => model.Observation)
                              .Labels(labels =>
                                  {
                                      labels.Format("MMM");
                                  }))
    .Render();
Ian
Top achievements
Rank 2
 answered on 19 Jul 2013
0 answers
148 views
I have a grid which I need to bind some columns to JSON child properties
$("#grid").kendoGrid({
  dataSource: {
    data: [
      { time: "1:00", city: "Chicago", temperature: { value: 89, displayString: "89 F" } }
    ]
  },
  columns: [
    { field: "time", title: "Time" },
    { field: "city", title: "City" },
       { field: "temperature.displayString", title: "Temperature" }  ]
});
The syntax is valid - I just need to watch for typing errors. 

Thanks!


Robert
Top achievements
Rank 1
 asked on 19 Jul 2013
Narrow your results
Selected tags
Tags
Grid
General Discussions
Charts
Data Source
Scheduler
DropDownList
TreeView
MVVM
Editor
Window
Date/Time Pickers
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)
SPA
Filter
Drawing API
Drawer (Mobile)
Globalization
Gauges
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
OrgChart
TextBox
Effects
Accessibility
ScrollView
PivotGridV2
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Collapsible
Localization
MultiViewCalendar
Touch
Breadcrumb
RadioButton
Stepper
Card
ExpansionPanel
Rating
RadioGroup
Badge
Captcha
Heatmap
AppBar
Loader
Security
Popover
DockManager
FloatingActionButton
TaskBoard
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
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?