我需要在datagridview中为列添加自定义构建的组件。据我所知,我可以使用以下代码添加按钮文本框:
function rewriteDates()
{
var endPartArray = 0;
for(var i = 0; i< vm.birthdays.length; i++)
{
var birthday = sharepointservice.getProperty(vm.birthdays[i].Cells, 'Birthday');
console.log(birthday);
var cleanBirthday = new Date(birthday.split(' ')[0]).toISOString();
console.log(cleanBirthday);
var dutchDates = dateservice.dayAndFullMonth(cleanBirthday, "Europe/Amsterdam");
console.log(dutchDates);
}
}
有什么方法可以将自定义构建的组件添加到列中吗?