Telerik Forums
Kendo UI for jQuery Forum
1 answer
2.1K+ views
Is there any way to grab an array of all the grid filters that a user has filled out without them pressing the "Filter" buttons? Before a user presses the "Filter" button, dataSource.filter() is undefined, but after pressing filter it is populated. I would like to be able to have all filter values that a user has entered in other columns (without pressing the "filter" button in each column) to be created. As it is right now, if I want to filter on 4 different columns, the user must click filter 4 times - which may not be intuitive to most users. 

Also, are there any plans in the future to allow users to define how column filters join together in the UI? The ideal end result would be: "(Column1Filters) AND (Column2Filters) OR (Column3Filters)" or at least a toggle between using "AND" or "OR" for joining all column filters in the header of the grid.
Alexander Valchev
Telerik team
 answered on 18 May 2012
3 answers
1.0K+ views
I'm having issues setting up validation on the dataSource's schema.model.fields object. I am following the documentation at: http://www.kendoui.com/documentation/framework/datasource/configuration.aspx as a guide.  It seems that the validation never fires.
 Below is the data source's schema property:
model{
                id"ID",
                fields{
                    Name{
                        editabletrue,
                        nullabletrue,
                        validation {
                            required:true,
                            customRulefunction(input){alert('bad data');}
                        }
                    }
                } 
I would expect that this would mark the field as required, and prevent the form from submitting and then also pop up an alert. 

I have created a jsfiddle with some sample code at:
http://jsfiddle.net/sholder/RxLWS/ 
any guidance on what I have wrong would be most appreciated.

Thanks,
Shane Holder
Rosen
Telerik team
 answered on 18 May 2012
3 answers
114 views
Hello,

I can see that data binding became broken after I update to Kendo UI v2012.1.515.
I have attached a test project for it.

Steps to reproduce:
- Enter "333" to the related field, click "Save". (all is fine and related field has been cleared)
- Enter "123" to the related field, click "Save". (A bug! Nothing happened, related field is not cleared)

I don't know why but it looks like a bug only with "123" value in related field.
It was working fine with previous version!

Vladimir
Rosen
Telerik team
 answered on 18 May 2012
0 answers
123 views
Hello:

I have a property in my CodeBehind that return JSON data:

public string EventTypeCount
{
    get
    {
        JavaScriptSerializer js = new JavaScriptSerializer();
        return js.Serialize((List<EventTypeCount>)obj);
    }
    set { ViewState["EventTypeCount"] = value; }
}

obj actually contains data and the serialization works ok, the problem is that I don't know how to tell the kendo ui chart to use this datasource. Right now I'm trying this the following, the dataEvent var actually recieves the Json String but I don't know how to tell the chart to understand that datasource. If I use a Handler that uses the transport property to make the request everything works ok, but I need this approach.

Thanks for any help.

Code:

function createChartEvents() {
                var dataEvent = '<%= EventTypeCount %>';
                $("#chartEvents").kendoChart({
                    theme: "metro",
                    dataSource: {
                        data: dataEvent,
                        dataType: "json"
                    },
                    title: {
                        text: "Estudios"
                    },
                    legend: {
                        position: "bottom"
                    },
                    seriesDefaults: {
                        type: "column",
                        labels: {
                            visible: true
                        }
                    },
                    series: [{
                        field: "CountMade",
                        name: "Eventos Finalizados"
                    }, {
                        field: "CountUnmade",
                        name: "Eventos Pendientes"
                    }, {
                        field: "CountCanceled",
                        name: "Eventos Cancelados"
                    }],
                    categoryAxis: {
                        field: "EventTypeName"
                    },
                    dataBound: onDataBound,
                });
            }
Felipe
Top achievements
Rank 1
 asked on 18 May 2012
0 answers
24 views
Hello guys:

I don't know if I can't see the option or if the site actually doesn't have it but, where is the forum option to search topics? Can you make it??

It is a hard task to search page for page to see if something has anything to do with what I'm looking for.

Thanks, and sorry... I know this shouldn't be here
Felipe
Top achievements
Rank 1
 asked on 18 May 2012
0 answers
43 views
When I add multiple windows to a page they are all created in the same spot. Is it possible to lay out the windows left to right ?
Volkan
Top achievements
Rank 1
 asked on 17 May 2012
0 answers
183 views
I need a grid with a Checkbox column to select/deselect multiple rows. I have tried the column template by doing the following
{ field: 'IsSelected', title: 'Select', type: "boolean", template: '<input class=selector type=checkbox />', width: '50px' }

But, how do I bind the event of checking the checkbox select/deselect the row? I also need the "Select All" checkbox in the header which would select all the rows.
Suresh
Top achievements
Rank 1
 asked on 17 May 2012
0 answers
123 views
Hi,

When binding to the grid change event, if I change any property on the data item using the set method, the grid selection no longer works. Please see http://jsfiddle.net/Z46Xc/1/ . Is this not the correct way to do this? In reality, the sub collection is bound to another grid and loaded on selection of parent row.

Thanks for your help.
Omar Beaconsfield
Top achievements
Rank 1
 asked on 17 May 2012
1 answer
242 views
hello

I have a datepicker and a grid that when I select a date from the datepicker take in a date field, the date picker to select the date
someone knows how to do that in the grid?
would like to modify the datasource.
currently taking data from a file filled with asp
and the date is the only field I want to take of the page.
regards!!
Ricardo
Top achievements
Rank 1
 answered on 17 May 2012
3 answers
179 views
I need an onLoaded event for the Kendo UI window widget. While the content loads asynchronously I want to display something like "Loading..." or a spinner.
Iliana Dyankova
Telerik team
 answered on 17 May 2012
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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
Bronze
Iron
Sergii
Top achievements
Rank 1
Iron
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?