How can I create 3 columns inside a ListView ?

Hello everyone,

This might seem simple for experienced individuals, but I haven't reached that stage yet. So, I just want to ask how to create 3 columns within a ListView:

Columns_A, Columns_B, Columns_C...

Then, populate each of these columns with simple data, just 5 data entries for each. After the sfListView contains the data, I also need to handle a click event with a button, let's call it "Show." When a data entry in the ListView is selected, and the Show button is pressed, it should display the selected data in a messagebox. The displayed value should always correspond to the value in "Columns_A" based on the selection.


Thank you.


2 Replies 1 reply marked as answer

MJ Madhumithan Jayapathi Syncfusion Team September 6, 2023 12:30 PM UTC

Hi Ridwan,

We've reviewed your query, and it appears that there isn't native support for multi columns in SfListView. However, you can achieve this functionality by utilizing our GridListView control. We have attached a sample for your reference and please let us know if you need any further assistance.


Regards,
Madhumithan Jayapathi


Attachment: GridControlList_6928f8ae.zip

Marked as answer

RI RIDWAN replied to Madhumithan Jayapathi September 8, 2023 02:07 PM UTC

Thank you for your time to answer my question..

The references you provide are very useful.


Loader.
Up arrow icon