Show name, filter by Id

Hi, 

I'm checking the examples of using grid control in vue js


all of them work with strings only:

<e-column field='CustomerName' headerText='Customer Name' width='150'></e-column>

In my data I have CustomerName and CustomerId. I want to be able:
- To show CustomerName in a column
- When clicking on a filter for this column, to see all customers (their names)
- But to filter by CustomerId, not by name (as it is shown in all examples).
 
How can I do this?

1 Reply

SK Sujith Kumar Rajkumar Syncfusion Team March 27, 2020 10:19 AM UTC

Hi Andrii, 
  
Greetings from Syncfusion support. 
  
We are not able to understand your requirement clearly with the provided data. So please share us the following information to validate further on this, 
  
  • By, “All of them work with strings only” - What type of data do you wish to filter in the columns?
  • By, “But to filter by CustomerId, not by name” - Can you elaborate on this?
  • By, “(As it is shown in all examples)” – Can you let us know which examples you are referring to by this?
  • Pictorial representation of requirement.
  
Let us know if you have any concerns. 
  
Regards, 
Sujith R 


Loader.
Up arrow icon