Displaying an empty cell in Child combo

1 reply. Last post: May 5, 2011 5:16 PM by Martin Lie
Tags :
  • (None)
Ellen Member

I have two linked bound combos: Parent and Child. I select a row in a Parent combo and then Child combo is populated, but nothing is displayed first. Then I select a row in a Child combo. Then, I want to unselect a row is a Child combo (display an empty cell). If I delete the content of the cell and leave the cell (loose focus), the previously selected cell is displayed. How to unselect everything (display an empty cell) in a Child combo? Thanks, Ellen.

All Replies

Martin LieSupport

Hello Ellen,

You can use ClearSelection() method to display an empty cell. Here is the following code:

function DoClear()
{
   var combo = ISGetObject("wcProduct");
   combo.ClearSelection();
}

Invoke this script using button or any control you like. It will clear the selection you made in the combo.

Hope this helps. Thank you.

 

Regards,
-Martin-

All times are GMT -5. The time now is 5:22 AM.
Previous Next