EasyUI Forum
April 28, 2024, 03:11:36 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: ComboGrid not support filter  (Read 6250 times)
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« on: November 23, 2018, 02:35:11 AM »

like title
Logged
hjzhbb7758
Jr. Member
**
Posts: 84


View Profile Email
« Reply #1 on: November 23, 2018, 02:37:14 AM »

when combogrid property editable="true" , the input focus, grid do not auto open
Logged
fengdie
Jr. Member
**
Posts: 87


View Profile Email
« Reply #2 on: November 25, 2018, 06:07:07 PM »

I looked at the source code of the 'combogrid' component and found that the doFilter method is empty. This can only wait for an administrator update
Logged
stworthy
Administrator
Hero Member
*****
Posts: 3581


View Profile Email
« Reply #3 on: November 25, 2018, 06:47:08 PM »

Please add the 'filterable' to the DataGrid component. Be sure to update to the newest version to get this feature.
Code:
<ComboGrid
    valueField="itemid"
    textField="name"
    v-model="value"
    :data="data"
    :panelStyle="{width:'500px'}">
  <DataGrid slot="grid" :border="false" :filterable="true">
    <GridColumn field="itemid" title="Item ID"></GridColumn>
    <GridColumn field="name" title="Name"></GridColumn>
    <GridColumn field="listprice" title="List Price" align="right"></GridColumn>
    <GridColumn field="unitcost" title="Unit Cost" align="right"></GridColumn>
    <GridColumn field="attr" title="Attribute" width="30%"></GridColumn>
    <GridColumn field="status" title="Status" align="center"></GridColumn>
  </DataGrid>
</ComboGrid>
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!