1) i want to load only date in cell when i load date column from database instead of time.
2) when i try to get those date values in javascript from cell i want to get only date with same formate it shows me something like
tue feb 10:00:00 utc + 500...
but i want dd/mm/yyyy as it is shown in cell...
You may have to do the format conversion yourself in javascript.
var today = new Date();
var formattedValue = today.getDay() + '/' + today.getMonth() + '/' + today.getFullYear();
i am not getting current date i am getting it from grid cell and its format is totally different i can see inside grid dd/mm/yyyy with time but when i get in javascript it is converted into format as i have mentioned above.....
I was just giving a javascript sample of the date. Your code might look more like below. I would think the built in javascript Date() object would be able to handle the format you are currently getting.
var unformattedDate = new Date(gridcell.value);
var formattedValue = unformattedDate.getDay() + '/' + unformatted.getMonth() + '/' + unformatted.getFullYear();