Maximo

Maximo

Come for answers, stay for best practices. All we're missing is you.

 View Only
  • 1.  MAF data-list component

    Posted 2 days ago

    So, I finally done locations tree with all levels without drill-down function and it looks good:

    But still have some question, maybe MAF experts can help. 
    1. on-item-click works only on first level list-item. Now, I added link elements instead of label, but lost finctionality when user click or row itself. 
    2. How to remove this "blue selection" on left side of table. How I understood, it is part of "list-details", but if it is not presented I want to remove it. 
    <data-list datasource="locds" enable-barcode-scanner="false" hierarchy-drill-in="false" id="createSRLocationDrilldown" margin="false" show-count="false" show-search="false" tree-name="Location Tree" no-select-behavior="false">
                  <list-item child-attribute="locationchildren" id="j3p63">
                    <adaptive-row id="gaaxy">
                      <adaptive-column id="jd8g5" large-width="33" medium-width="33" small-width="33" xlarge-width="33">
                        <label id="kqzdr" label="{item.location}" override-required="false"/>
                      </adaptive-column>
                      <adaptive-column id="kdb78" large-width="67" medium-width="67" small-width="67" xlarge-width="67">
                        <link on-click="zzselectLocation" on-click-arg="{item}" label="{item.description2}" class-name="mx--label mx--touch-16-regular bx--form-item textOverflow mx--label-default-pad" id="a1_yqj79"/>
                      </adaptive-column>
                    </adaptive-row>
                  </list-item>
                  <list-item id="qdddz">
                    <adaptive-row id="yz53j">
                      <adaptive-column id="w4anx" large-width="33" medium-width="33" small-width="33" xlarge-width="33">
                        <label id="p3wyr" label="{item.location}" override-required="true"/>
                      </adaptive-column>
                      <adaptive-column id="bak9m" large-width="67" medium-width="67" small-width="67" xlarge-width="67">
                        <link on-click="zzselectLocation" on-click-arg="{item}" label="{item.description2}" class-name="mx--label mx--touch-16-regular bx--form-item textOverflow mx--label-default-pad" id="a1_mv78q"/>
                      </adaptive-column>
                    </adaptive-row>
                  </list-item>
                </data-list>


    ------------------------------
    Andrey Ilinskiy
    Handz.on
    https://www.on.de/
    München
    ------------------------------