|
| [wm20-android] is there a function to hide a row in looper ? |
| Iniciado por guest, 21,dic. 2015 13:23 - 4 respuestas |
| |
| | | |
|
| |
| Publicado el 21,diciembre 2015 - 13:23 |
I have 1 column looper . based on user filter , I wish to hide certain row in the looper . currently what i do is deleteall and refill the looper , this method require rerun the query .
I wonder if there is a function which i can hide the row. i have tried using visible but get error property not exist .
any suggestion ? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 21,diciembre 2015 - 20:13 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,diciembre 2015 - 00:41 |
Hi Darren,
I want to Hide and unhide depend on user filter
rgds, CCC |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,diciembre 2015 - 08:41 |
Quote
I want to Hide and unhide depend on user filter
I have done this in WD using looper[row]..visible, you could try the same in WM
LooperRows is int = LooperCount(myLooper) cFilterString="myLooper[%1].edtOrderValue>500" FOR RowNumber = 1 TO LooperRows cLineFilterString=StringBuild(cFilterString,RowNumber) IF EvaluateExpression(cLineFilterString) THEN IF myLooper[RowNumber]..Visible=True THEN // do nothing already visible! ELSE myLooper[RowNumber]..Visible=True END ELSE myLooper[RowNumber]..Visible=False END END Gary. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 22,diciembre 2015 - 13:02 |
Hi Gary,
Quote Gary Williams
Quote
I want to Hide and unhide depend on user filter
I have done this in WD using looper[row]..visible, you could try the same in WM
LooperRows is int = LooperCount(myLooper) cFilterString="myLooper[%1].edtOrderValue>500"
FOR RowNumber = 1 TO LooperRows cLineFilterString=StringBuild(cFilterString,RowNumber) IF EvaluateExpression(cLineFilterString) THEN IF myLooper[RowNumber]..Visible=True THEN // do nothing already visible! ELSE myLooper[RowNumber]..Visible=True END ELSE myLooper[RowNumber]..Visible=False END END
Gary.
I tried that before. no error compiling but when run i get error property not exist |
| |
| |
| | | |
|
| | | | |
| | |
|