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. (Last updated on: November 16, 2018).
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 02:49 PM UTC Nov 1,2008 02:06 AM UTC ASP.NET Web Forms (Classic) 5
loading
Tags: GridGroupingControl
Irine Lerner
Asked On February 1, 2008 02:49 PM UTC

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 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.


Muneeb Younsi
Replied On 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.




Adriano
Replied On 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.






Mohamed Suhaib Fahad A. [Syncfusion]
Replied On 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.






Mohamed Suhaib Fahad A. [Syncfusion]
Replied On 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.








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.

Please sign in to access our forum

or the page will be automatically redirected to sign-in page in 10 seconds.

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

;