Share via

Navigation between multiple datagridview's using arrow keys

OmkarHcl 206 Reputation points
Jul 16, 2023, 8:47 AM

multiple datagridview

The above is the screenshot in which i have a tablelayout panel with two columns . Each column has a datagridview in it . and both are having dock = fill . I am struggling to use the both datagridview as one combined datagriview in which when i press right arrow key , the current row selected (which is Capital Account 563 in the screenshot ) should move to Investment 69,32,55,266 . like this when in any column , i presses down arrow key , it should change row of that datagridview . Is it possible to have this effect . Please help me out in this matter .

Windows Forms
Windows Forms
A set of .NET Framework managed libraries for developing graphical user interfaces.
1,924 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
11,328 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.