Skip to content

Can`t order by nested objects #74

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
leonardoResendeLima opened this issue Apr 5, 2018 · 0 comments
Open

Can`t order by nested objects #74

leonardoResendeLima opened this issue Apr 5, 2018 · 0 comments

Comments

@leonardoResendeLima
Copy link

I have and object that has nested properties inside, like this:

{
   ...
   file :  {
      type : "Excel",
      size : 10000
   }
}

and I can`t filter the "type" field.

<table class="table table-bordered table-condensed table-hover center">
   <thead>
      <tr>
         <th sortable="file.type" class="sortable">
            {{'Actions.Tabela.FileType' | translate}}
         </th>
      </tr>
      <tr>
         <td>
            <input type="text" class="form-control input-sm order-search-box" ng-change="gridActions.filter()" ng-model="file.type" filter-by="file.type" filter-type="text">
         </td>
      </tr>
      <tr>
         <td ng-bind="file.type"></td>
      </tr>
</table>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant