Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 208
  • Last Modified:

Dbgrid and chechbox ?

Hi guys
I use component name tdbadvlistview to show the data of my application database
but there is a problem with it , when I refresh it with data , it seem to slow
with bad look at refresh

so how can tell me about another component can give me best result
if dbgrid , I want to but checkboxes on it until the field is not a boolean field.

be fast

thanks
0
peruzzi
Asked:
peruzzi
  • 4
2 Solutions
 
shaneholmesCommented:
did you try

 MyListView.Items.BeginUpdate;

 //add items to list;
 
 MyListView.Items.EndUpdate;


Shane
0
 
shaneholmesCommented:
ah never mind, i just saw it was a Dataware ListView, which probably has its own disablecontrols methods

Shane
0
 
shaneholmesCommented:
Try this

 AdvListView.BeginUpdate
 //
 AdvListView.EndUpdate

Shane
0
The 14th Annual Expert Award Winners

The results are in! Meet the top members of our 2017 Expert Awards. Congratulations to all who qualified!

 
mokuleCommented:
I don't know the mentioned component, but I think that it cooperates with some DataSet.
You can try rather

DataSet.DisableControls

 and after making changes

DataSet.EnableControls
0
 
shaneholmesCommented:
yup that too, Im sure it has a Datasource property - good thinking Mokule

<Smile>

SHane


0
 
peruzziAuthor Commented:
Hi
I solve the problem by using visable property
dblistview.visable:=false;
.
.
make the change
.
.
dblistview.visable:=true;

No points for me they are for you.......................thanks

peruzzi
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now