Pls, i need help.
I've got a problem in adding a text into cell.
code:
grid.model.item(1,1).applytext("test")
Value is stored in cell, by i don't see it in the grid, maybe it needs to be refreshed or updated..
Pls, explain what i'm doing wrong.
Thanx
VK
Vishnu Kumar
Syncfusion Team
February 5, 2008 12:52 PM UTC
Hi lrine ,
Thank you for your patience.
Issue : problem in adding a text into cell.
You can add the text in a cell using below code snippet.
[c#]
gridControl1.Model[1, 1].Text = "Test";
Please let me know if you have any other concerns.
Regards,
Vishnu.
MY
Muneeb Younsi
October 29, 2008 04:48 PM UTC
Hi,
if (e.Inner.Style.Text == "OpenLinkCurve")
{
this.gridGroupingControlBatchStatus.TableControl.Model[e.Inner.RowIndex,e.Inner.ColIndex].Text = "Risk";
}
above I am trying to replace the text of a cell at runtime. But I cannot see the text in the grid. Could you please advise me why?
regards
Muneeb Younsi.
>Hi lrine ,
Thank you for your patience.
Issue : problem in adding a text into cell.
You can add the text in a cell using below code snippet.
[c#]
gridControl1.Model[1, 1].Text = "Test";
Please let me know if you have any other concerns.
Regards,
Vishnu.
AD
Adriano
October 31, 2008 05:07 PM UTC
Hi,
How can i do this in vb.
I Try GRID.Table.SelectedRecords(i).Record.SetValue("STATUS", "OK") and nothing!
>Hi,
if (e.Inner.Style.Text == "OpenLinkCurve")
{
this.gridGroupingControlBatchStatus.TableControl.Model[e.Inner.RowIndex,e.Inner.ColIndex].Text = "Risk";
}
above I am trying to replace the text of a cell at runtime. But I cannot see the text in the grid. Could you please advise me why?
regards
Muneeb Younsi.
>Hi lrine ,
Thank you for your patience.
Issue : problem in adding a text into cell.
You can add the text in a cell using below code snippet.
[c#]
gridControl1.Model[1, 1].Text = "Test";
Please let me know if you have any other concerns.
Regards,
Vishnu.
MS
Mohamed Suhaib Fahad A.
Syncfusion Team
November 1, 2008 02:04 AM UTC
Hi Muneeb,
You should handle the event using the following code,
e.Handled = true.
Please check with this and let me know if this helps you out.
Thanks,
Fahad
ASP.NET Grid Team
Syncfusion Inc.,
>Hi,
if (e.Inner.Style.Text == "OpenLinkCurve")
{
this.gridGroupingControlBatchStatus.TableControl.Model[e.Inner.RowIndex,e.Inner.ColIndex].Text = "Risk";
}
above I am trying to replace the text of a cell at runtime. But I cannot see the text in the grid. Could you please advise me why?
regards
Muneeb Younsi.
>Hi lrine ,
Thank you for your patience.
Issue : problem in adding a text into cell.
You can add the text in a cell using below code snippet.
[c#]
gridControl1.Model[1, 1].Text = "Test";
Please let me know if you have any other concerns.
Regards,
Vishnu.
MS
Mohamed Suhaib Fahad A.
Syncfusion Team
November 1, 2008 02:06 AM UTC
Hi Adriano,
The SetValue() method would update the inner Engine's table value. This should sure update the Text in the Cells, but make sure this happens before the OnPreRender of the Page. Only in this method, the Grid would be generating the TableCells.
Please let me know if you want any more details.
Thanks,
Fahad
ASP.NET Grid Team
Syncfusion Inc.,
>Hi,
How can i do this in vb.
I Try GRID.Table.SelectedRecords(i).Record.SetValue("STATUS", "OK") and nothing!
>Hi,
if (e.Inner.Style.Text == "OpenLinkCurve")
{
this.gridGroupingControlBatchStatus.TableControl.Model[e.Inner.RowIndex,e.Inner.ColIndex].Text = "Risk";
}
above I am trying to replace the text of a cell at runtime. But I cannot see the text in the grid. Could you please advise me why?
regards
Muneeb Younsi.
>Hi lrine ,
Thank you for your patience.
Issue : problem in adding a text into cell.
You can add the text in a cell using below code snippet.
[c#]
gridControl1.Model[1, 1].Text = "Test";
Please let me know if you have any other concerns.
Regards,
Vishnu.