To continue with this content, please log in with your Data Access ID or create a new account.
Cancel Data Access ID
You may not be authorized to see this content. Please contact Data Access Europe for more information.
Cancel Data Access Europe
You are not authorized to see this content.
Cancel Data Access Europe
Next lesson:
WebCombo
Cancel

Getting to know the Web Controls

Lesson 12 - WebColumnSuggestion

The WebColumnSuggestion is a control that will be used as a column within a WebList or WebGrid that adds a column to search indexed values. While typing, the closest matching suggestions are shown below the entered value in a list. 

Note that using the WebColumnSuggestion in a WebList will only display the list with the value and be readonly. If you want to use this to only allow a set of values and be editable then you will need to use it in a WebGrid. The WebColumnSuggestion is a subclass of the WebSuggestionForm so this means it is as highly customizable. 

The WebColumnSuggestion could be handy to use if you want to limit the values that can be entered for that column and have a search possibility to filter the result set.

Alright now you know more about the WebColumnSuggestion, I will show a demo on how to implement it and how it looks.


DEMONSTRATION

  • For this lesson I have added the webordermobile databases in my workspace. And created a view with an order list.
  • As you can see, right now we can not change anything.
  • Let's change the Salesperson column to be a WebColumnSuggestion and set the server to the SalesPerson data dictionary.
  • Now let's compile and see the result.
  • Right now we can not use the WebColumnSuggestion as the WebList is readonly. 
  • Lets change the WebList to be a WebGrid.
     
  • Let's compile again and see the result.
  • We are now able to edit the salesperson and it will immediately save it as well.