NewRowNeeded event of datagridview cannot be trigger

0
0

Hi because I have lots of data to be loaded into datagridview, I am trying to use Virtual Mode and NewRowNeeded event to load row by row. For my logic, it is easier than CellValueNeeded. But WiseJ won’t trigger NewRowNeeded while CellValueNeeded is working fine. Can you please let me know if there is any other trick?

Thanks,

  • You must to post comments
0
0

NewRowNeeded is not related to the rows being added, it is for the new automatic row added by the user:

> Fired when the Wisej.Web.DataGridView.VirtualMode property of the Wisej.Web.DataGridView is true and the user navigates to the new row at the bottom of the Wisej.Web.DataGridView.

If you need to set the default values in a new automatic row use DefaultValuesNeeded.

You can also handle RowsAdded.

Cells in a virtual mode grid get their value from CellVCalueNeeded and write their value in CellValuePushed.

  • You must to post comments
Showing 1 result
Your Answer

Please first to submit.