Home Forums WinForms controls Xceed Grid for WinForms runtime checkbox column Reply To: runtime checkbox column

User (Old forums)
Member
Post count: 23064

i’ve found another way, in the select instead of convert to int, converting to bit, so the grid know is a boolean column, and then, shows it as a checkbox. and no need of the 2 extra lines.

“select cp.id_condicion_pago, cp.descripcion, ” +
“convert(BIT, isnull(clicp.flag_por_defecto_documento, 0)) as flag_por_defecto_documento ” +
“from cliente_condicion_pago clicp ” +
“inner join condicion_pago cp ” +
“on clicp.cia=cp.cia ” +
“and clicp.id_condicion_pago=cp.id_condicion_pago ” +
“where clicp.cia=@sParamCia ” +
“and clicp.id_cliente=@sParamCliente “);
but still, i cant edit it.

Imported from legacy forums. Posted by jrivam (had 229 views)