Hi,

I am receiving data from an external source in form of events. The incoming
events are very fast. Initially I was using windows datagrid control to
display the data, but it seems to be very slow.

Please tell me, how can I create my own custom lightweight grid to solve
this issue or point me towards any custom implementation of datagrid.

Thanks & Regards,
Rajat.

Re: Need lightweight custom windows grid by Lloyd

Lloyd
Tue Dec 13 01:42:46 CST 2005

http://www.codeproject.com/cs/miscctrl/XPTable.asp

--
Regards,
Lloyd Dupont

NovaMind development team
NovaMind Software
Mind Mapping Software
<www.nova-mind.com>
"Rajat" <rajat.tandon@algorismtech.com> wrote in message
news:eNw3hCw$FHA.2520@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I am receiving data from an external source in form of events. The
> incoming
> events are very fast. Initially I was using windows datagrid control to
> display the data, but it seems to be very slow.
>
> Please tell me, how can I create my own custom lightweight grid to solve
> this issue or point me towards any custom implementation of datagrid.
>
> Thanks & Regards,
> Rajat.
>
>



Re: Need lightweight custom windows grid by Lloyd

Lloyd
Fri Dec 23 18:24:57 CST 2005

so?
"Rajat" <rajat.tandon@algorismtech.com> wrote in message
news:eNw3hCw$FHA.2520@TK2MSFTNGP15.phx.gbl...
> Hi,
>
> I am receiving data from an external source in form of events. The
> incoming
> events are very fast. Initially I was using windows datagrid control to
> display the data, but it seems to be very slow.
>
> Please tell me, how can I create my own custom lightweight grid to solve
> this issue or point me towards any custom implementation of datagrid.
>
> Thanks & Regards,
> Rajat.
>
>



I have a similar problem. by Jrgen

Jrgen
Tue Jan 10 04:35:03 CST 2006

Hi,
I have a similar problem. I am receiving data from the class SerialPort and
want to decode and display the data in rows and colums. I have been
experimenting with listview, but the flickering and time used when I am
andding an item to my listview (detail view) is insane..
To ensure that the performance issue is not coming from my data decoding I
have stripped my SerialPort Data received Event to this:
string[] str = new string[] { "1", "2", "3", "4", "5", "6", "7", "8","9",
"0123456" };
private void FrameReceived(Object sender, System.EventArgs e)
{
listView1.Invoke(new EventHandler(delegate
{
ListViewItem item = new ListViewItem(str);
listView1.Items.Add(item);
}
}

I have also tried to enable DubleBuffer on the form, but the result is the
same.
Does anyone have any suggestions to alternative controls or know a way to
get flickerfree updating of a listView?
The requirements for the list is:
1. Flickerfree
2. Autoscroll when new frames arrive
3. No need to support edit of data
4. 10 colums of data for each frame
5. Colorcoded frames
6. Selection of item should be possible


Best Regards
Jørgen