vb.net - Custom DataView Grid Control -


i need create custom data grid view control solve tailored needs.

presently binding dataset grid , need check data in grid , format values or clear cells , make color of cell gray (disabled.). takes huge time when data increases couple of thousand rows.

so thought if can create custom datagrid has these properties time taken reduced the formatting of grid cells happen instantly.

can 1 me out if possible.i need in vb.net.

you can use datagridview.cellformatting event. event occurs when cell has formatted display. rows "hidden" won't have event being called upon.

private sub datagridview1_cellformatting(sender object, e datagridviewcellformattingeventargs) _     handles datagridview1.cellformatting     '-----------------------------------     ' magic end sub 

normally don't have create custom control this. wire event.


Comments

Popular posts from this blog

c++ - Creating new partition disk winapi -

Android Prevent Bluetooth Pairing Dialog -

VBA function to include CDATA -