cancel
Showing results for 
Search instead for 
Did you mean: 

i5Grid resize problem after refresh method getting called

0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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.

0 Kudos

This is a i5Grid issue. We just used ui5 table instead off i5Grid.

0 Kudos

Hi,

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

Regards,

Srikant