hi,
I'm using v10.3, is that any function on showing a tooltip on a cell when mouse over?
Thanks in advance
Has there been a resolution on this support ticket? I am having problems with tooltips as well. Thanks.
Pamela Meier
Hi,
I created a support ticket on your behalf to investigate this issue further.
Regards,
Lyuba
Developer Support Engineer
Infragistics
www.infragistics.com/support
Below are my code:
<ig:WebDataGrid id="wdgForecastIssue" runat="server" Width="100%"
AutoGenerateColumns="false"
oninitializerow="wdgForecastIssue_InitializeRow"
onrowupdating="wdgForecastIssue_RowUpdating"
onrowupdated="wdgForecastIssue_RowUpdated">
<Behaviors>
<ig:ColumnResizing Enabled="true">
<ColumnSettings>
<ig:ColumnResizeSetting EnableResize="true" />
</ColumnSettings>
</ig:ColumnResizing>
<ig:EditingCore AutoCRUD="False">
<ig:CellEditing CellEditingClientEvents-ExitedEditMode="wdgForecastIssue_ExitedEditMode">
<ig:EditingColumnSetting ColumnKey="Acr" ReadOnly="true" />
<ig:EditingColumnSetting ColumnKey="Vol" ReadOnly="true" />
<ig:EditingColumnSetting ColumnKey="IssNo" ReadOnly="true" />
<EditModeActions EnableOnActive="true" MouseClick="Single" />
</ig:CellEditing>
</Behaviors>
</ig:EditingCore>
<ig:ColumnFixing ShowLeftSeparator="true" ShowRightSeparator="true" AutoAdjustCells="true">
<ig:ColumnFixingSetting ColumnKey="Acr" ShowFixButton="false" />
<ig:ColumnFixingSetting ColumnKey="Vol" ShowFixButton="false" />
<ig:ColumnFixingSetting ColumnKey="IssNo" ShowFixButton="false" />
</ig:ColumnFixing>
</ig:WebDataGrid>
Server side:
/// <summary>
/// Populate List
/// </summary>
public void PopulateList()
{
wdgForecastIssue.Columns.Clear();
BoundDataField _field = new BoundDataField();
_field.Key = "IssID";
_field.Header.Text = "IssID";
_field.DataFieldName = "IssID";
_field.Hidden = true;
wdgForecastIssue.Columns.Add(_field);
_field = new BoundDataField();
_field.Key = "Acr";
_field.Header.Text = "Acronym";
_field.DataFieldName = "Acr";
_field.Width = Unit.Pixel(50);
_field.Key = "Vol";
_field.Header.Text = "Volume";
_field.DataFieldName = "Vol";
_field.Key = "IssNo";
_field.Header.Text = "Issue";
_field.DataFieldName = "IssNo";
EditingColumnSetting _settingColumn;
DataSet _dsForecastIssue = ForecastIssueBL.GetIssueForecasts(Fr, To, JlID, Vol, IssNo, PID);
if (_dsForecastIssue.Tables.Count > 0)
_dtColum = _dsForecastIssue.Tables[1];
foreach (DataColumn col in _dsForecastIssue.Tables[0].Columns)
if (wdgForecastIssue.Columns.FromKey(col.ColumnName) == null)
_field.Key = col.ColumnName;
_field.Header.Text = col.ColumnName;
_field.DataFieldName = col.ColumnName;
_field.Width = Unit.Pixel(100);
_field.CssClass = "igg_nonEditable";
//if (this.wdgForecastIssue.Behaviors.EditingCore.Behaviors.CellEditing.ColumnSettings.Contains(col.ColumnName) == false)
//{
// //By default - set all column to READ ONLY - until SECURITY model implemented
// _settingColumn = new EditingColumnSetting();
// _settingColumn.ColumnKey = col.ColumnName;
// _settingColumn.ReadOnly = true;
// this.wdgForecastIssue.Behaviors.EditingCore.Behaviors.CellEditing.ColumnSettings.Add(_settingColumn);
//}
}
SetAccessLevel();
wdgForecastIssue.ClearDataSource();
wdgForecastIssue.DataSource = _dsForecastIssue.Tables[0];
wdgForecastIssue.DataKeyFields = "IssID";
wdgForecastIssue.DataBind();
wdgForecastIssue.RequestFullAsyncRender();
this.GetColumnFixingBehavior().FixedColumns.Add(new FixedColumnInfo("Acronym", FixLocation.Left));
this.GetColumnFixingBehavior().FixedColumns.Add(new FixedColumnInfo("Volume", FixLocation.Left));
this.GetColumnFixingBehavior().FixedColumns.Add(new FixedColumnInfo("IssueNo", FixLocation.Left));
protected void wdgForecastIssue_InitializeRow(object sender, RowEventArgs e)
e.Row.Items[2].Tooltip = "some tooltip";
The tooltips should appear for the readonly columns. Would you share with us the definition of your grid and how you set the tooltips?
Hi Lyuba,
I have tried this code, however the tooltip is not showing when mouce over.
For your information, my column is ReadOnly = true. Will this caused any problem on showing tooltip?