element-tree-grid icon indicating copy to clipboard operation
element-tree-grid copied to clipboard

Remote never called

Open mrquokka opened this issue 5 years ago • 1 comments

All data are objects(not your format, simular to ORM on sqlalchemy), so i cannot set "prop". And "remote" method never called, set "allRemote" does not help me

mrquokka avatar Dec 04 '18 11:12 mrquokka

Some example, on element ui table columns i use code

<template slot-scope="props">
  <p :title="attribute_desc['description']" onselectstart="return false">
    {{print_value(attribute_desc.type, props.row, attribute_name)}}
  </p>
</template>

on your

<template slot-scope="scope">
    <span>{{scope.row.get(tree_grid_column)}}</span>
</template>

mrquokka avatar Dec 05 '18 11:12 mrquokka