Telerik Forums
Kendo UI for jQuery Forum
2 answers
248 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
285 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
533 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
187 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
98 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
155 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
1 answer
115 views
On the styling example page, the input with icon examples, on hover, exhibit the disappearance of the magnifying glass icon.

A similar issue has already been identified here in this post.
Iliana Dyankova
Telerik team
 answered on 19 Jul 2013
2 answers
129 views
Is there a way to globally change the "teal" color used in the flat skin?  I can change it widget by widget but would prefer to make a single global change.
Jason
Top achievements
Rank 1
 answered on 19 Jul 2013
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
MultiColumnComboBox
Chat
DateRangePicker
Dialog
Checkbox
Timeline
Drawer
DateInput
ProgressBar
MediaPlayer
ImageEditor
TextBox
OrgChart
Effects
Accessibility
PivotGridV2
ScrollView
BulletChart
Licensing
QRCode
ResponsivePanel
Switch
Wizard
CheckBoxGroup
TextArea
Barcode
Breadcrumb
Collapsible
Localization
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
+? more
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Rob
Top achievements
Rank 3
Bronze
Iron
Iron
Sergii
Top achievements
Rank 1
Iron
Iron
Dedalus
Top achievements
Rank 1
Iron
Iron
Lan
Top achievements
Rank 1
Iron
Doug
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?