Skip to Content

i5Grid resize problem after refresh method getting called

Hi All,

Initially I am creating one i5Grid with a height 150px. At the start up its coming fine i.e with actual height. see my i5Grid code below.

var i5Grid_Data = new com.sap.xmii.grid.init.i5Grid("display template", "query template");

i5Grid_Data.setGridWidth("100%");

i5Grid_Data.setGridHeight("170px");

i5Grid_Data.draw("i5grid_content");

i5Grid_Data.registerRowSelectionEventHandler(OnGridSelection);

Now I am modifying one row of the i5Grid and after modifying I am calling the i5Grid_Data.refresh().

after the refresh method call the i5Grid coming with the updated data. but the height of the i5GridData is different(More that the height what I had set before). i5Grid displaying 10 rows after the refresh method by default.

Is any one tell me how to set the number of rows fixed of the i5Grid object.

Thanks,

Srikanta Satapathy

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Aug 27, 2015 at 06:25 AM

    Hi,

    Forgot to add the MII version. I am facing this issue in MII 15.0 SP4, patch 8

    Regards,

    Srikant

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 13, 2016 at 03:20 PM

    I'm seeing the exact problem. Have you come up with anything yet or received any feedback? After a refresh of an existing i5Grid, the height will sometimes increase. I'll see a 10 row grid at times -- even an empty grid -- but I don't think it's consistently 10 rows.

    MII 15 SP3 patch 7.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.