We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Cell Selections

Please let me know if you grid support the following functions?
1. Single Cell Selection.
2. Multiple cells selection.
3. Multiple Regions with multiple cells selection.
4. Ability to drag selected cells to other .NET control.
5. Ability to generate tool tip for individual cell.
6. Ability to update text on the tool tip on both client and server side.



Thanks,
Ray







1 Reply

RR Ranjithkumar R G Syncfusion Team March 19, 2012 03:45 AM UTC

Hi Ray,

Query#1,#2,#3,#4: “Cell Selection”

We would like to tell you that ASP.NET Grid does not support those functions.

Query#5: Ability to generate tool tip for individual cell.

Your requirement can be achieved by handling QueryCellStyleInfo event. Please refer to the code snippet below.

[CS]


void GridGroupingControl1_QueryCellStyleInfo(object sender, Syncfusion.Web.UI.WebControls.Grid.Grouping.GridTableCellStyleInfoEventArgs e)
{
if (e.TableCellIdentity.TableCellType == GridTableCellType.RecordFieldCell || e.TableCellIdentity.TableCellType==GridTableCellType.AlternateRecordFieldCell )
{
if (e.TableCellIdentity.Column.Name == "ColumnName")
{
string tooltip = e.Style.CellValue.ToString();
e.Style.CellTipText = tooltip;

}
}

}



Query#6:”ClientSide Tooltip”

You can change the tooltip by client side using dhtml tooltip. Please refer to the below link to download the sample application.

tooltip.zip

Please let me know if you have any concern.

Regards,
Ranjithkumar.



Loader.
Live Chat Icon For mobile
Up arrow icon