Current filter:
                                You should refresh the page.
                                0
                                  • Hello

                                    How can I find the following informations from an xtragrid:

                                    - How many columns and which of them are inside the user visible area?

                                    - How many rows and which of them are inside the user visible area?

                                    Thanks

                                    Christophe

                                You must  log in  or  register  to leave comments

                                1 Solution

                                0

                                Hi,

                                You should work with the GridView's ViewInfo object as shown below:

                                GridViewInfo viewInfo = gridView1.GetViewInfo() as GridViewInfo;
                                viewInfo.ColumnsInfo property returns information about visible columns
                                viewInfo.RowsInfo property returns information about visible rows

                                You must  log in  or  register  to leave comments
                                You must  log in  or  register  to leave an answer

                                Is your intention to post an answer to your own question?

                                • If so, then proceed.
                                • If you simply wanted to post additional information, ask for further clarification, or to just say "Thanks!", please click Leave a Comment.
                                • If you wish to edit your original question, please use the Edit button in the Toolbox at the top right corner of that entry.