date picker field in Inline editing
date picker field in Inline editing
santosh5266
Posts: 1Questions: 0Answers: 0
Im using the http://datatables.net/blog/Inline_editing code for creating grid,
i modified the browser field to input date ,i require datepcker field .
I tried using jquery ui function in the editrow
function editRow ( oTable, nRow )
{
$(function() {
$( "#datepicker" ).datepicker();
});
var aData = oTable.fnGetData(nRow);
var jqTds = $('>td', nRow);
jqTds[0].innerHTML = '';
jqTds[1].innerHTML = '';
jqTds[2].innerHTML = '';
jqTds[3].innerHTML = '';
jqTds[4].innerHTML = '';
jqTds[5].innerHTML = 'Save';
}
Could you please help me achieve this ?
i modified the browser field to input date ,i require datepcker field .
I tried using jquery ui function in the editrow
function editRow ( oTable, nRow )
{
$(function() {
$( "#datepicker" ).datepicker();
});
var aData = oTable.fnGetData(nRow);
var jqTds = $('>td', nRow);
jqTds[0].innerHTML = '';
jqTds[1].innerHTML = '';
jqTds[2].innerHTML = '';
jqTds[3].innerHTML = '';
jqTds[4].innerHTML = '';
jqTds[5].innerHTML = 'Save';
}
Could you please help me achieve this ?
This discussion has been closed.