ListView in SF v.1.6.6 - AutoSortColumn - Very Delayed


Author
Message
Dustin Taylor
Dustin Taylor
StrataFrame Team Member (652 reputation)
Group: StrataFrame Users
Posts: 364, Visits: 771
Awesome, glad you got it solved! BigGrin
Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
Solved !!! BigGrin

The problem was in the code of the event ' RowPopulation'.


Rogério Mauri Smile

Rogerio Mauri
Rogerio Mauri
StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)StrataFrame User (303 reputation)
Group: StrataFrame Users
Posts: 205, Visits: 629
When the AutoColumSort property is adjusted for true the time of reading of the registers in the ListView is very delayed (20 seconds approx)Crying. Adjusted for false, the reading is very fast. I made the test with a table with 2444 registers.


ListView Properties:
===================
PopulateOnFormLoad: Manual
PopulateDataSourceSettings: DicCBOBO.CopyDataFrom(MicroFour.StrataFrame.Business.BusinessLayerBase,MicroFour.StrataFrame.Business.BusinessCloneDataType)
AutoColumSort: true


Configurations:
==============
Business Object Type: DicCBOBO
Method to Execute: CopyDataFrom(BusinessLayerBase, BusinessCloneDataType)
Display Fields:
    {0}CodCbo
    {1}DescricaoCbo
Columns:
    0 - Blank - FormattedString
    1 - {0}   - FormattedString
    2 - {1}   - FormattedString
TagField: IdCBO


Events:
======
private void listView2_ListPopulating(MicroFour.StrataFrame.UI.ListPopulatingEventArgs e)
{
    e.Parameters[0].Value = dicCBOBO1;
    e.Parameters[1].Value = MicroFour.StrataFrame.Business.BusinessCloneDataType.ClearAndFillFromDefaultView;
}


 
 

Rogério Mauri Smile



GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search