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.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Adding a text into cell

Thread ID:

Created:

Updated:

Platform:

Replies:

71484 Feb 1,2008 09:49 AM Oct 31,2008 10:06 PM ASP.NET Web Forms (Classic) 5
loading
Tags: GridGroupingControl
Irine Lerner
Asked On February 1, 2008 09:49 AM

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


Vishnu Kumar [Syncfusion]
Replied On February 5, 2008 07:52 AM

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.


Muneeb Younsi
Replied On October 29, 2008 12:48 PM

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.




Adriano
Replied On October 31, 2008 01:07 PM

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.






Mohamed Suhaib Fahad A. [Syncfusion]
Replied On October 31, 2008 10:04 PM

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.






Mohamed Suhaib Fahad A. [Syncfusion]
Replied On October 31, 2008 10:06 PM

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.








CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;