Set_row exception

Posted by: roeikup on 19 December 2017, 8:49 am EST

    • Post Options:
    • Link

    Posted 19 December 2017, 8:49 am EST

    Hello,

    we using c1 component in c#.

    we are trying to use set_row_position by pressing an ‘up’ button and a ‘down’ button.

    but it’s always throw an exception (like the one is attached).

    the rows the we want to move or set to a new position is connected to a data set, maybe its connected somehow. i tried to do some test in some small project and it’s seem to work fine, that’s why i don’t understand the problem.

  • Posted 21 December 2017, 12:20 am EST

    Hi,

    If you are using C1FlexGridClassis, please notes the below points:

    1. set_RowPosition() method only works for unbound grid.
    2. If you want to implement the move row functionality with data-bound grid then you need to implement it on C1FlexGridClassic’s data source.

    Find the attached sample for complete implementation when C1FlexGridClassic uses DataTable as DataSource.

    Thanks,

    Singh

    FlexClassis.zip

  • Posted 26 December 2017, 10:06 am EST

    Thanks!.. this helps a lot…

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels