This is a migrated thread and some comments may be shown as answers.

datepicker change datasource in grid

1 Answer 235 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ricardo
Top achievements
Rank 1
Ricardo asked on 17 May 2012, 06:03 PM
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!!

1 Answer, 1 is accepted

Sort by
0
Ricardo
Top achievements
Rank 1
answered on 17 May 2012, 07:00 PM
for now I have something like this

 
function onChange() {
                  var BirthDate =  [ kendo.toString(this.value(),'d')];
             }

and dataSource on grid

dataSource: {
                data: {FuncionDellenado3(),onChange()}
                            
    },


and I have removed the data file in the BirthDate value
which is what I put the current date but I want to have to choose the date in the datepicker
someone knows how this can be done?
Tags
Grid
Asked by
Ricardo
Top achievements
Rank 1
Answers by
Ricardo
Top achievements
Rank 1
Share this question
or