Search the Community
Showing results for tags 'unidbgrid'.
-
Merhaba unidbgrid deki çektiğim dataların ortalı çıkmasını istiyorum soldan sağa yapılabiliyor ama yukarıdan aşağıya nasıl yaparım?
-
in http://prime.fmsoft.net/demo/desktop/mdemo.dll Grids - Cell Editors When you select a single editable column in edit mode to edit records going to the next with tab, the last record is not saved if we do not change record with tab (by not changing record, changing record with click or upon arrival at last record). Thank you
-
Assuming I have a unidbgrid with five columns attached to a data set. How do I disable the editing on columns 1, 2 and 3 when the value of the fifth column is 1 but they are editable if the value in the fifth column is anything else? And, in which event would this be best suited? Jeff
-
Hi! Farshad unidbgrid how to direct print and export Excel File?
-
Hi, Please, How can I leave the unigrid with automatic height without scroll? I need the height is according to number of record in the unidbgrid, the scroll to be used the page or scrollbox. Best regards
-
Hi , i would like to drag & drop rows between two grids , here is the code i used , it seems i forgot something , if some one could help me to fix it please //in first grid: function beforeInit(sender, config) { config.listeners = { plugins: { ptype: 'gridviewdragdrop', dragGroup: 'secondGridDDGroup', dropGroup: 'firstGridDDGroup' }, listeners: { drop: function(node, data, dropRec, dropPosition) { var dropOn = dropRec ? ' ' + dropPosition + ' ' + dropRec.get('name') : ' on empty view'; } } } } //second grid function beforeInit(sender, config) { config.listeners = { plugins: { ptype: 'gridviewdragdrop', dragGroup: 'firstGridDDGroup', dropGroup: 'secondGridDDGroup' }, listeners: { drop: function(node, data, dropRec, dropPosition) { var dropOn = dropRec ? ' ' + dropPosition + ' ' + dropRec.get('name') : ' on empty view'; } } } } G2G.zip
-
Hi Farshad, working with latest release; Some issue and needs (all in the dbgrid): Tab or navigate in a dbgrid row while editing: Pressing tab or any key in a next/previous fields not go to editing; it works only with [enter] or [click] inside. dgInsert: Pressing the down arrow on last row is no longer possible to add automatically a new row in a dbgrid. UpdateRowDataset : it is very useful if you insert a method that update the underline dataset fields when leave a modified cell (optionally used on onexit of cell), so we can calculate or modify other fields in the record and show with RefreshCurrentRow(), WITHOUT post operation and WITHOUT exit from the row for update related fields (very useful on lookups, calculate and validate fields during edit). As Always.... partial fetch with scrollbars (infinite scroll)....advanced dblookups.... :-) Best Regard!!!
-
UniListBox ve dbgride arka plan rengi nasıl veririm. UniListBox için arka planı transparan yapabilir miyim ?
-
Hello! A simple example, Switching grid pages "smoothly"... UniDBGrid1 -> ClientEvents -> ExtEvents [ Ext.data.Store[store] ] : function store.beforeload(store, operation, eOpts) { this.grid.getView().el.setStyle("opacity", "0"); } function store.load(sender, records, successful, eOpts) { this.grid.getView().animate({to: {opacity: 1}, duration: 1000}) } Try, Best regards.
-
Hello, I try to lock all columns in group but not success (may be Javascript can help In this situation ?) Step to test: 1. open Demos\Desktop\GridColumnLocking 2. in Column Editor set GroupHeader = "test group" for 3 Columns (these columns already locked) - CustNo - Company - Contact when running, the column does not locked tested Environment Delphi XE7 UniGui Trial 0.99.50.1195 Google Chrome 45.0.2454.85
-
Hi, I want to know how to read the text in a uniedit or unicombobox during editing when used in a column in unidbgrid. Using extEvent don't give me text except for the event "data" useful for remote queries. I need to manage and change edit text when data is no present in remote query, but ther is no possibility in dbgrid's unicombobox..... There are ways for manage events in controls embedded in grids? jeans_larghi (Sesamo Software collaborator)
- 22 replies
-
- event
- uniicombox
-
(and 3 more)
Tagged with:
-
Hello! Need to change the color of selected row in UniDBGrid . What property CustomCss should be changed ? Best regards
-
sample code to resize automaticaly uniDbGrid columns: thanks to Oleg by the model code. function reconfigure(sender, store, columns, oldStore, the, eOpts) { Ext.each(columns, function(column, index) { if (!sender.columnManager) { sender.columns[index].flex=1; /*fit width, comment to disable*/ sender.columns[index].minWidth = 150; /*min.size*/ } else { sender.columnManager.columns[index].flex=1; sender.columnManager.columns[index].minWidth = 150; }; } ) } Demo project Attached. uniDBGrid_Column_AutoSize.rar
-
when i start edit inside som column dbgrid i need to use any shortcut like F1,F2.. or any shortcut ,how i can do thank you joe
-
Hello, i have a problem with a UniDBGrid with the following situation: Every time i make a SQL Call with "insert into" on my FireBird DB for the first time for a new user (of my cms, DB is not empty) and refresh the grid, the columns of my table are there but the entry is not. When i delete the entry (dbgrid is then empty) and make another call (insert into) and the same refresh method, the grid refreshes and i see the entry in the database. My Question is, is this the right way?: 1. SQL call: insert into... 2. Database.ExecuteDirect(..)... 3. DBGrid.DataSource.DataSet.Open; 4. DBGrid.DataSource.DataSet.Refresh; 5. DBGrid.Refresh; Do you have any other suggestions or ideas why it doesnt work on the first call?
-
hi all I developed an accounting software (VCL mode), I use DBGrid with the onkeypress event for moving the cursor to the next column, I search the forum there is some solution but the key to enter the mode changes in editon not the next column are there a solution for this problem??
-
Hi Farshad! I think need to include "summaryType": count sum min max average http://www.objis.com/formationextjs/lib/extjs-4.0.0/docs/api/Ext.grid.feature.Summary.html If I'm not mistaken there is currently no such possibility (of course, we can use the "summaryType" in code, in another way. But would like that this possibility was in the properties of the column) Sincerely.
-
Hi All! PageSize Extension for UniDBGrid: How to use? 1. Download the file from here https://github.com/loiane/extjs4-ux-paging-toolbar-resizer/blob/master/ux/PagingToolbarResizer.js and copy to the directory /files/ 2. Add CustomFiles in UniServerModule: files/PagingToolbarResizer.js 3. Add beforerender function in UniDBGrid: function beforerender(sender, eOpts) { if (sender.pagingBar) { sender.pagingBar.hide(); sender.pagingBar.border = "0 none"; sender.pagingBar.destroy(); sender.addDocked( {dock: 'bottom', items: [Ext.create('Ext.PagingToolbar', { pageSize: sender.store.pageSize, store: sender.store, displayInfo: true, plugins: Ext.create('Ext.ux.PagingToolbarResizer',{displayText: 'Records per Page', options : [ 5, 10, 15, 20, 25 ]}) })] }); } } http://loianegroner.com/extjs/examples/extjs4-ux-paging-toolbar-resizer/ Sincerely.
-
Hi All! There is a solution for the Progress Bar Pager. How to use? 1. You need to include the file "ProgressBarPager.js". One way to, copy the file "ProgressBarPager.js" from the directory "C:\Program Files\FMSoft\Framework\uniGUI\ ext-4.2.1.883\examples\ux" to the directory "... /Files/" add CustomFiles in UniServerModule: files/ProgressBarPager.js 2. Add beforerender function in UniDBGrid: function beforerender(sender, eOpts) { if (sender.pagingBar) { sender.pagingBar.hide(); sender.pagingBar.border = "0 none"; sender.pagingBar.destroy(); sender.addDocked( {dock: 'bottom', items: [Ext.create('Ext.PagingToolbar', { pageSize: sender.store.pageSize, store: sender.store, displayInfo: true, plugins: Ext.create('Ext.ux.ProgressBarPager', {width: 300}) })] }); } } http://docs.sencha.com/extjs/4.1.3/extjs-build/examples/grid/progress-bar-pager.html Sincerely.
-
Olá a todos. Gostaria de saber como faço para mostrar uma imagem ao invés de texto na célula do unidbgrid? Estou anexando um exemplo pra ficar mais fácil. Obrigado.
-
Hi guys... After a few days and nights of study and research, I finally manage selected rows. I think there must be a better way to do it. I hope this helps you ... Cheers... MyXUniDBGrid.rar
-
Hi! Is there some solution to put progress indicator in UniDBGrid. I have one"percent" field (10%,20%,30%....100%) and I try to show visualy percents in UniDBGrid with progress indicator. Any solution for that?
-
Hi Farshad. Please tell me whether it is possible disable synchronization of changes in the grid: grid.store.autoSync = false; And then after the changes the user can save the changes. Using: grid.store.sync (); Is it possible? Thank you.