search

Home  >  Q&A  >  body text

javascript - Element-UI expanded row table, how to present expanded row format under certain special conditions

After setting type="expand", each row has an expand button and can be expanded.
The requirement is that only under certain special conditions, this row can be expanded, and other rows cannot be expanded without expand buttons, as shown in the figure.
Looking for a solution. . . .

習慣沉默習慣沉默2752 days ago1670

reply all(1)I'll reply

  • 高洛峰

    高洛峰2017-05-19 10:17:23

    :type="特定条件?'expand':''"

    reply
    0
  • Cancelreply