How to add control in cell of devexpress spreadsheet? - devexpress

How to add control(combobox, checkbox, radio, button ...) in cell of devexpress spreadsheet ?
Thank you !

If you are using a WinForms XtraSpreadsheet control - take a look at the example on the DevExpress site. It describes how to display custom controls instead of the standard cell editor.

Related

Dynamic grid using wpf devexpress

I m having situation whhere i need to add text box in grid control cell just like we add button in the cell but the text box should open a small window when click .User should be able to fill enteries in that window.
This is possible in extjs but can anyone please tell how to achieve this with devexpress controls.Please find the screenshot of the same.
DevExpress provides a workaround for WPF platform: PopupContainerEdit for WPF, whats the status?
This solution is valid for WinForms platform only
DevExpress has the PopupContainerEdit editor that supports in-place mode. This editor is very handy to implement the functionality you described.
To make it work properly in in-place mode, handle these two events:
PopupContainerEdit.QueryResultValue Event
RepositoryItemPopupContainerEdit.QueryDisplayText Event
The result value will be passed to the cell where the editor is located. It is a bad practice to modify data manually after closing the pop-up window.

How to show only dimensions in DevExpress pivotgrid field list?

I am using DevExpress pivotgrid for displaying data. How to show only the dimensions in the DevExpress pivotgrid FieldList/CustomizationForm, when we right click on pivot grid and select "Show field list"?
Thanks in advance.
This can be easily accomplished by setting the PivotGridField.Options.ShowInCustomizationForm property to false.
EDIT:

radgrid cell editable

Please can anyone give me solution.
Here is the problem.
Am passing a datatable as datasourse to a rad grid. The coumns of datatable are autogenerated depending on the data. So, I did nt added the itemtemplates for the rad grid. in the aspx page.
How i should make each cell as editable as well I want give rad tool tip for every cell.
Please help me in this problem
Regards,
Bharath
To make the grid cells editable, simply add EditCommandColumn in the grid (either auto-generated or declarative). To add tooltips, use this approach and include RadToolTipManager on the page with AutoTooltipify property set to true.

Is there a sample using DevExpress to have a TreeView as the drop-down of a combo edit?

I need to place a DevExpress combo edit where the drop-down is a TreeView. DevExpress has a bunch of partial explinations of this, but no complete source. Anyone have a sample?
The solution is to use a PopupContainerEdit control. To do this you also create a PopupContainerControl, put a TreeView in the PopupContainerControl (set to fill size) and then have the PopupContainerEdit.Popup point to the PopupContainerControl.
Full source at DevExpress combo box with a TreeView dropdown

ASP.NET C# - Display Embedded Web Objects in Datagrid control

Im using Visual Studio 2008, on an ASP.NET C# website. Overall what I want to accomplish is that when an item from a list of items is clicked, a video will display on the same page. I want this done all in one aspx page, I dont want to create a new page for each video file. The video files are hosted for me on www.screencast.com.
What I have done is created data-bounded radio list, and a datagrid which is binded to whatever is selected from my radio list. So when an item from that radio list is clicked, the video will diplay on the page, along with a description of the video and other important info.
What i have dome so far does not display my videos. Thats why I am here. I need to know how I can replace one of the fields from my data grid with an embedded web object.
What path do you guys recommend I take to acomplish my goal?
EDIT
With JoeRage's suggestion to use Shadowbox.js, Im going to have on my datagrid a simple link that when clicked, a video will display. My problem is how do I make my hyperlinks get formatted with the following info:
<a rel="shadowbox;width=800;height=600" title="Basic Pricebook Training" href="VideoContent/pricebookMgtBasic.swf"><img src="VideoContent/PricebookMgtBasic.gif" alt="" class="border"></a>
I know that on a datagrid, i can add a hypertextFeild. Problem is that even if I use the DataTextDormatString?
Check ShawdowBox.js.
Edit: You can use a TemplateColumn to build the desire output.

Resources