Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

GridLookUpEdit: multiple selection using checkbox (web style)

$
0
0

The current example extends multiple selection in the web style (via check boxes) functionality, described in the Multiple selection using checkbox (web style) example, for the GridLookUpEdit. In case of GridLookUpEdit bound data source is initialized only after the popup window is shown, so it is impossible, for example, to select all entries on popup window load. To handle this, data source should be used directly. The following example illustrates this approach.

See also:
How to use an unbound check box column to select grid rows
Multiple selection using checkbox (web style)

Question Comments

Added By: Larry Hendren at: 6/5/2014 7:38:27 AM    

The code from this example would be very helpful; however, I cannot compile it in vb.  Several of these type erros:
"Error 514 Type 'DevExpress.XtraGrid.Views.Grid.ViewInfo.GridGroupRowInfo' is not defined. C:\Users\myname\Documents\Samples\XtraGrid Suite\13.2.9\E4048\VB\GridLookUpEditCBMultipleSelection\GridCheckMarksSelection.vb 309 16 GridLookUpEditCBMultipleSelection

I have converted it to version 14.1.3

Added By: Marek Lipowski at: 6/8/2015 6:02:33 AM    

Hello, can you ask for example, select one line, so that he could learn from the code i get View.

Added By: Dimitros (DevExpress Support) at: 6/8/2015 6:41:12 AM    

 Hello

@Larry
We've tested this example with all versions till 15.1 and it can be compiled without any problem. Convert the project using our Project Converter utility as described here:

  How to open Project Converter

This should help.

@Marek 

I'll post an answer to your question in the Select one row in ticket you've created.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>