I am using DevExpress v 2010.2. I have an ASP.NET Web application with an AspxGridView grid control.
I have the following problem with its Edit Form: space between its columns (the controls are located in 2 columns) is too large.
Can I reduce the spacing somehow?
Use recommendations from this DX KB Article to achieve this task.
Related
Kendo UI makes it very easy to use MVVM when using a grid to add or edit records by automating much of the window usage.
This is great as long as you have the grid on your screen, but what if I want to add or edit a record on a page where the grid is not available? How would I call the same edit window and get all the same error checking, binding, etc?
Your question is more about general MVC development. Take a look here.
I am using a Telerik grid with a DetailView.
I have the grid rendering correctly, but I was wondering if there is a way to collapse/expand all rows programatically using Java Script?
It works if I do it manually one by one, but I would like to offer a master expand/collapse button for all rows.
Found a solution here:
http://www.telerik.com/community/forums/aspnet-mvc/grid/expand-collapse-all-detailviews-in-a-grid.aspx
I would like to show my table data in grid. The table has more than 50 columns. By default they are displayed fine but I need a way to hide/show columns which are not required on screen.
So is there any way to achieve this? I think right clicking on the header should show all headers in a list box, allowing selection of which columns we want, then refresh the grid.
Please let me know if Telerik supports this and, if so, how?
No builtin feature available and this is one of many reasons why we are still thinking about other grids instead of telerik.
In the demo site there is a page where they show all the column names with checkboxes on top of the grid and you can check/uncheck to show/hide columns. see that sample source code, is simple to implement but still is custom code to add manually. I love the devexpress grid with customization popup and columns dragdrop from there but nothing like that for us in Telerik :-(
I have spent a while searching google for an answer to the following question, with no luck.
Does anyone know if there is any way (at all) to use the Design view to edit the contents of an ASP.NET table control (an <asp:Table runat="server">...)?
From all that I can tell, devs are stuck coding their <asp:TableRow>s and <asp:TableCell>s by hand! This is ludicrous, given that you can use the design view as a WYSIWYG editor for standard HTML tables.
In design view go to the properties of your table and select rows and click the button. You can add rows there. Likewise the row properties has a cells property that lets you add cells one at a time.
Still pretty bad but it would cut down on the hand typing.
There is a Rows property you can play with in the design view.
As you add rows to the Rows collection, you have access to the Cell property as well through the dialog presented to you.
What is the most performant way of displaying a table of data in Flex?
Are there alternatives to the native Flex Datagrid Component? Alternatives that are noted for their rendering speed?
Are there other ways to display a table?
I have a datagrid with roughly 70 lines and 7 columns of simple text data. This is currently created and loaded in memory. This is being refreshed rapidly (about 800 msec) and there is a slight lag in other animations when it is rendering the table... So I am trying to cut down this render time.
As far as I know, you've got the DataGrid, AdvancedDataGrid, and TileList. But I've never had any speed issues with any of them as such. However, they can become slow based on what you choose to display within the cells, especially if you want to use fat images (in which case your option is to create copies at a lower resolution).
All the controls are pretty good at loading and displaying content only as it is required based on scrolling into view.
How slow is your problem case? What (and how much) are you putting into the cells? Do you know for sure it's Flex, or could it be in your data provider?
Do you need a datagrid? If you don't need resizable columns, you could also use a List and a custom itemrenderer. Say you have 10 rows and 4 columns. A datagrid would create 40 items vs a List which would create 10.
You can try ElfGrid here: http://www.elfgrid.com/
You can use the <mx:Grid> component. Its slightly lighter than datagrid.