Ask a Question

Removing a property doesn't remove the column values when the datasource is grid

LZhang
Frequent Contributor

Removing a property doesn't remove the column values when the datasource is grid

Hi:

When I tried to remove a property (essentially I want to remove a column) when the datasource type is grid, only the column header got removed but all the values stayed there and therefore the next column to the right got shifted to the left and took on the values of the deleted properties.

Properties: firstname, lastname

Columns:
firstname  lastname
Joe            Smith
Mary          Johnson
Henry        Chilver

If I remove firstname property, it only removes the column header firstname.  Then lastname header will get shifted and take on all firstname values. 

This is a bug.  Maybe you can add an option to delete column and insert columns.

Also, please add a horizontal scroll bar when the column number increase, all the column are clustered together and are very difficult to view.


Thanks,
Li
4 REPLIES 4
omatzura
Super Contributor

Re: Removing a property doesn't remove the column values when the datasource is

Thanks Li,

will be fixed in upcoming snapshot..

sorry for the inconvenience..

regards!

/Ole
eviware.com
omatzura
Super Contributor

Re: Removing a property doesn't remove the column values when the datasource is

Hi Li,

this should be fixed in the 2.0 beta1 release.. check it out!

regards,

/Ole
eviware.com
FlyBe_-_soapUI_
New Contributor

Re: Removing a property doesn't remove the column values whe

Hello

So we are 5 years later now and this is what you get from the current SoapUI (we are using v4.5.1)

From the following page, none of the methods to do with columns work correctly.
http://www.soapui.org/apidocs/pro/com/e ... Model.html

Try to remove the column. Nothing will happen visually and getColumnCount() will return the same value.
Try however to write to the last column index (getColumnCount()-1). This will return out of bounds exception .

Even worse situation is when you try to change column's order. You may end up values getting swapped between them. Although it may look ok on the screen, getColumnName(int column) it will give you false idea which column you are actually reading the values from.

When all of the sudden your project starts behaving crazy, I can only wish you success trying to debug that kind of thing with the groovy facilities provided within this proprietary application.
JKambli
Staff

Re: Removing a property doesn't remove the column values whe

Ole commented in 2007 that it was fixed in snapshot, so it must have been fixed long back. The fix is never done to the main build, its either done in maintenance or future builds, the latest version of Ready API 1.6.0 SoapUI NG Pro, doesnt have this bug.

 

Thanks


Did my reply answer your question? Give Kudos or Accept it as a Solution to help others. ⬇️⬇️⬇️
cancel
Showing results for 
Search instead for 
Did you mean: