コード例 #1
0
        public override HTMLElement OnCreate(DataGridView gridView, int dataRowIndex, int columnIndex)
        {
            var value = gridView.GetRowCellValue(dataRowIndex, columnIndex);

            var cell  = Helper.Element(new HTMLTableCellElement());
            var input = new CheckBox();

            input.SetBoundsFull();
            input.Checked = value.As <bool>();
            input.Element.style.margin = "0";
            cell.appendChild(input);

            return(cell);
        }