cancel
Showing results for 
Search instead for 
Did you mean: 

How to remove a particular row of matrix?

Former Member
0 Kudos

Hi friends,

I am a need to hide and show a particular row of matrix when required .

I can remove the row by hiding of the all the elements in the row but in UI it shows enough space to identify its existence. 

I have also used

document.getElementById('__row85').style.display='none';

but it works in same view, to hide the row of other view.js its not working with this command

Thanks

Jagdish Lodhi

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jagdish,

Just like addRow(), you have removeRow() method for Matrix Layout which you can use to remove a particular row.

But what exactly you want i am not clear.

You want to remove a row or hide a row???

Regards,

Sharique

vasantham
Explorer
0 Kudos

Hi Sharique,

How to hide a row in matrixlayout?

Thanks,

vasantham

Answers (1)

Answers (1)

former_member91307
Contributor
0 Kudos

Hi Jagdish,


addStyleClass method of control could be used to hide a content.

Below example might help

http://jsbin.com/afif/189/edit

Thanks and Regards, Venkatesh