Plex 2E

  • 1.  MSFlexgrid

    Posted Oct 21, 2011 10:29 AM
    Hello guys,

    Just a small question, we want to display images in a grid while reading data form our iseries (BF)

    I think the only option is to use the MSFlexgrid...

    Who is using a msflexgrid in combination with iSeries to display graphical information? Or maybe CA provides a local model with examples of how to use the MSFlexgrid control.

    Thanks in advance.

    wbr,

    Floris Hoogeboom


  • 2.  RE: MSFlexgrid

    Posted Oct 21, 2011 07:59 AM
    We are using CodeJock's Xtreme Report Control imported as COM component instead of the Plex grid and are very happy with it. Very flexible, many options and great look&feel.
    --
    Peter Fabel


  • 3.  RE: MSFlexgrid

    Posted Oct 24, 2011 03:11 AM
    Thanks for your reply Fabel,

    Do you also use IBM iSeries for reading the data (fe. read 64 lines and append when scrolling)
    My problem is how to append the data dynamically just like the default plex grid control on scrolling.

    Thanks in advance!


  • 4.  RE: MSFlexgrid

    Posted Oct 24, 2011 05:25 AM
    Well, yes, the db we are using is the System i, but we haven't implemented the dynamic load feature yet. We know how to do it, but it is still waiting for being done (needs some user source to be done). This is not on our top priority list up to now as we force the user to filter his queries in big volume files. It just doesn't make sense from our point of view that we enable the user to scroll through thousands or even billions of data entries.
    --
    Peter


  • 5.  RE: MSFlexgrid

    Posted Oct 24, 2011 11:01 PM
    Ok, that’s great!

    Did you create a flexible solution so you can use it in all your plex panels (fe. did you made a custom variant of the UIBASIC/Grid?)

    I tried to make a flexible solution but having some troubles appending the outcome of the BF into the different columns.

    Is it possible that we share some action diagram code or maybe a small local model? It would be a great help for me.

    Thanks in advance.


  • 6.  RE: MSFlexgrid

    Posted Oct 25, 2011 10:36 AM
    Yes, we created a pattern to be used instead of the basic grid pattern. And it works well. Trouble there is, that we spent a lot of time building it. I cannot give it away without any return on it. But some advise on it is possible.

    So, you imported the CodeJock Report control as com package into your Plex model and attached it by a object reference field to your panel? To be able to add the contents of db fields to the columns, you first need to create the columns using the methods get_Columns (confusing enough in the Codejock documentation this object is treated as a property of ReportControl called Columns while Plex converts it to a methode called get_Columns) and its scoping Add method. This normal only has to be done once at initialisation time. Next you can actually load the grid by using the methods get_Records (in CJ documentation a property of ReportControl called Records), AddRecord and finally AddItem.
    --
    Peter


  • 7.  RE: MSFlexgrid

    Posted Oct 28, 2011 04:21 AM
    Ok, I understand.

    I would first try to get the MS flexgrid up and running so Ill translate your advice into the Flexgrid activeX control. If this wont work I will try the CodeJock control.
    Thanks for your support so far, and when I have problems with the codejock control I would post my question in this forum.

    Thanks again!

    Floris