Chase Florell
Top achievements
Rank 1
Chase Florell
asked on 21 Mar 2008, 12:37 AM
In many applications now, if you click the upper left corner of a grid/table, it will select the entire table. Is this possible in the GridView?
3 Answers, 1 is accepted
0
Hello Chase,
Thank you for writing.
Currently RadGridView does not support this feature, but we will consider adding it in our next release.
For now I could suggest this workaround:
I hope this helps. Do not hesitate to contact me again if you have other questions.
All the best,
Martin Vasilev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing.
Currently RadGridView does not support this feature, but we will consider adding it in our next release.
For now I could suggest this workaround:
private void radGridView1_CellClick(object sender, Telerik.WinControls.UI.GridViewCellEventArgs e) |
{ |
GridCellElement cell = (GridCellElement)sender; |
if (cell is GridTableHeaderCellElement) |
{ |
this.radGridView1.GridElement.BeginUpdate(); |
for (int i = 0; i < this.radGridView1.RowCount; i++) |
{ |
this.radGridView1.Rows[i].IsSelected = true; |
} |
this.radGridView1.GridElement.EndUpdate(); |
} |
} |
I hope this helps. Do not hesitate to contact me again if you have other questions.
All the best,
Martin Vasilev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Kevin Meyer
Top achievements
Rank 1
answered on 11 Jul 2008, 09:14 PM
A 'select all' option on checkbox columns would be ideal, but even a was for us to "hack" it would work. I've even looked at creating derived column and cell, but don't see a way to specify specialized header cell to use.
Thanks!
Thanks!
0
Hi Kevin,
Thank you for writing.
Currently, RadGridView does not support Select All for a check box column. However, you could implement such functionality by using custom context menu for the header row cells.
Do not hesitate to contact me again if you need additional assistance.
Regards,
Martin Vasilev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for writing.
Currently, RadGridView does not support Select All for a check box column. However, you could implement such functionality by using custom context menu for the header row cells.
Do not hesitate to contact me again if you need additional assistance.
Regards,
Martin Vasilev
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center