Bonjour,

Après recherche sur le net et le forum, je n'ai rien trouvé traitant de ce sujet.

J'essaye d'intégrer une richTextEditor dans mon datagrid, pour la mise en page. J'utilise un itemRender, mais sans succès :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
 
	<mx:XMLList id="employees">
			        <employee>
			            <name>Christina Coenraets</name>
			            <phone>555-219-2270</phone>
			            <email>ccoenraets@fictitious.com</email>
			            <active>true</active>
			        </employee>
			    </mx:XMLList>
 
 
				<mx:DataGrid id="datagrid_home"
					wordWrap="true" variableRowHeight="true"
					dataProvider="{employees}"	width="100%" height="100%"
					styleName="dataGrid" editable="true">
						<mx:columns  >
							<mx:DataGridColumn headerText="Titre" dataField="name" 
								itemEditor="MessageRichEditor" />
 
									<mx:DataGridColumn headerText="Title" dataField="name">
										<mx:itemRenderer>
											<mx:Component>
											<mx:RichTextEditor>
 
											</mx:RichTextEditor>
 
										</mx:Component>
									</mx:itemRenderer>
								</mx:DataGridColumn>
 
						</mx:columns>
				</mx:DataGrid>
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
 
<?xml version="1.0" encoding="utf-8"?>
<mx:RichTextEditor xmlns:mx="http://www.adobe.com/2006/mxml">
 
</mx:RichTextEditor>
Problème d'affichage du composant