This is a migrated thread and some comments may be shown as answers.

Multi-Row Columns Header

4 Answers 177 Views
VirtualGrid
This is a migrated thread and some comments may be shown as answers.
Saji
Top achievements
Rank 1
Saji asked on 15 Dec 2016, 02:21 PM

Hi Telerik,

RadGridView allowed (albeit didn't function neat enough) to add a set of columns under a viewdefinition in order to show them as grouped. Is there a proper way of achieving this in RadVirtualGrid? If the feature doesn't exist now, can you advise me on how to achieve this by additional GDI rendering ?

Thank you,

Saj.

4 Answers, 1 is accepted

Sort by
0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 16 Dec 2016, 10:48 AM
Hello Saji,

Thank you for writing.  

Currently, RadVirtualGrid doesn't support view definitions. However, we already have a similar request logged in our feedback portal and I have added a vote for it on your behalf. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

Due to the complexity of the feature and the specific layout, we are unable to suggest a suitable workaround.

I hope this information helps. Should you have further questions I would be glad to help.

Regards,
Dess
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
0
Aseman
Top achievements
Rank 1
Veteran
answered on 12 Jan 2020, 01:10 PM

Hello Dess 

Can I display Row Header (it means show row index in rad Virtual Grid View (in list) ) for every row?

1

2

3

4

5

....

thank you in advance

0
Dess | Tech Support Engineer, Principal
Telerik team
answered on 14 Jan 2020, 01:19 PM

Hello, Aseman,    

The following help article demonstrates how to show row numbers in RadGridView: https://docs.telerik.com/devtools/winforms/controls/gridview/cells/formating-examples/row-numbers 

In a similar way it can be achieved for RadVirtualGrid:

        public RadForm1()
        {
            InitializeComponent();

            this.radVirtualGrid1.RowCount = 100;
            this.radVirtualGrid1.ColumnCount = 5;
            this.radVirtualGrid1.CellValueNeeded += radVirtualGrid1_CellValueNeeded;
            this.radVirtualGrid1.CellFormatting += radVirtualGrid1_CellFormatting;
        }
        
        private void radVirtualGrid1_CellFormatting(object sender, VirtualGridCellElementEventArgs e)
        {
            if (e.CellElement.RowIndex > -1 && e.CellElement.ColumnIndex < 0)
            {
                e.CellElement.DrawText = true;
                e.CellElement.Text = e.CellElement.RowIndex.ToString() ;
            }
        }

        private void radVirtualGrid1_CellValueNeeded(object sender, VirtualGridCellValueNeededEventArgs e)
        {
            e.Value = "Data" + e.RowIndex + e.ColumnIndex;
        }

I would kindly ask you to open a separate thread with the appropriate Product (RadGridView for WinForms) and to avoid mixing different subjects in the same thread in future. This will also give you the opportunity to track the different cases easily in your account.

Thank you for your understanding.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
0
Aseman
Top achievements
Rank 1
Veteran
answered on 15 Jan 2020, 10:57 AM
thank you very much
Tags
VirtualGrid
Asked by
Saji
Top achievements
Rank 1
Answers by
Dess | Tech Support Engineer, Principal
Telerik team
Aseman
Top achievements
Rank 1
Veteran
Share this question
or