Click here to Skip to main content
15,891,033 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi.
How to change text of a cell at runtime in XtraReport?
I am using "DevExpress v2011 vol 1".
I have a few cells and I can change their text one by one using PreviewClick event as below.

C#
private void _cell_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            e.Brick.Text = "aaabbbccc"; e.PreviewControl.Refresh();
        }


But, in that event I need to change text of other cells simultaneously. I tried below and got no luck

C#
private void _cell_PreviewClick(object sender, PreviewMouseEventArgs e)
        {
            e.Brick.Text = "aaabbbcc";
            otherCell1.Text = "rrrttcwwww"
            e.PreviewControl.Refresh();
        }


Best Regards,
Orgil.D
Posted
Updated 28-Aug-14 22:00pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900