Getting Index and Data From TrueDBGrid

Posted by: alemanreyeskevin on 28 June 2018, 9:37 am EST

    • Post Options:
    • Link

    Posted 28 June 2018, 9:37 am EST

    Hello Everyone

    I’ am new using Component One in WinForms and I have a basic question

    How can I get the index of a column in TrueDBGrig?

    In DataGridView I used to type:

    MyDGV.CurrentCell.ColumnIndex = “2”

    But this does not work with TrueDBGrid

    I need the Index to compare in a condition like

    if MyDGV.CurrentCell.ColumnIndex = “2” Then

    Statment1

    End if

  • Posted 28 June 2018, 9:59 am EST

    Hello alemanreyeskevin,

    Please refer to the help link below:

    http://helpcentral.componentone.com/nethelp/c1truedbgrid/displayingthecurrent.html

    Hope it helps!

    Thanks,

    +Manindra

  • Posted 28 June 2018, 10:26 am EST

    Thanks!!, it works

Need extra support?

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

Learn More

Forum Channels