Jump to content

Search the Community

Showing results for tags 'dbgrid'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • uniGUI 1.x
    • Beta Releases
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. How can I enable only the field that has the editor enabled? It is enabling all other fields in the edition and allowing to change the same defined fields or readonly = true in each field of the grid And why does the image appear in her html, as shown in the image?
  2. I have created a pagingbar button using the following code: function pagingBar.boxready(sender, width, height, eOpts) { this.add([ '-', { xtype: "button", text: 'More Records', width: 100, id: "moreRecsBtn", listeners: { click: function() { ajaxRequest(sender, "_moreRecs", []); } } } ]); } In the OnAjaxEvent of the DBGrid I have the following code which is suppose to change the text color of the button when it's clicked but it doesn't:
  3. I have added a new ComboBox to a DbGrid PagingBar and I want to in code at runtime to be able to:- 1) Clear ComboBox Items 2) Add Multiple ComboBox New Items 3) Read Selected item in Items(ComboBox) via AjaxEvent (_PurchaserItems_) The problem is referencing and adjusting the ComboBox ? My code fragments:- ... ' {'#13#10 + ' xtype: '#39'tbseparator'#39#13#10 + ' },'#13#10 + ' {'#13#10 + ' xtype: '#39'combobox'#39','#13#10 + ' name: '#39'Items'#39','#13#10 + // guess, compiles, no crash ' width: 3
  4. Hello! I need a DBGrid in which some cells in each row are available for editing When user presses Tab to go to the next cell - this cell gets focus and cursor is positioned at the end of the cell value So before filling cell with a new value, user have to erase old value by press Backspace or to select old value manually and then clear it Is there any way to autoselect value when user enters the cell? Thanks for any help!
  5. as the topic, pls help. i don't want user to click the button
  6. Hello! My DBGrid contains columns with positive and negative values. I need to calculate 3 summary grand total values for every column - positive, negative and common summary (positive + negative). For this separate calculation I use Column.AuxValues[1], Column.AuxValues[2] and Column.AuxValues[3] in OnColumnSummary and OnColumnSummaryTotal events. OnColumnSummary: //positive if Column.Field.Value > 0 then Column.AuxValues[1] := Column.AuxValues[1] + Column.Field.Value; //negative if Column.Field.Value < 0
  7. Is it possible to tell when the popup menu below appears and when it closes via events:
  8. I have a DBGrid with a TUniNumberEdit Editor for Floating Numbers set to 2 Decimal places that fails to paint only 2 decimal places, please advise - thanks. // GST nmInvEdit2.Alignment:= taRightJustify; nmInvEdit2.AllowBlank:= False; nmInvEdit2.DecimalSeparator:= '.'; nmInvEdit2.DecimalPrecision:= 2; // GST Columns.Add; Columns.Items[i].FieldName:= 'GST'; Columns.Items[i].Visible:= True; Columns.Items[i].Title.Alignment:= taRightJustify; Columns.Items[i].Title.Caption:= '$GST'; Columns.Items[i].Width:= 100; Columns.Item
  9. Without using an Editor can we round float columns to 2 decimal places ? If we have to use an Editor then I still need to round float value to 2 decimal places - Please show how to implement ? Do we use something like this and how do we apply it in code:- applyValue: function(value) { value = parseFloat(value); if (isNaN(value) || value === null) { value = this.getDefaultValue(); } //round the value to 1 decimal value = Math.round(value * 100) / 100; return this.callParent([value]); },
  10. I am using Locked columns in a DBGrid. In the DBGrid there is a column with DisplayMemo = True, and Editor = UniMemo1. When the DBGrid is shown, at first time, the locked columns appear with default height. After (at right) the locked columns, the height of the lines vary depending on the text on Memo Column. It is show in the image below. The only way I have found to correct the heights is when the form is resized. The result is that all lines in all columns are with the correct height. See the image below. How can the DBGrid appears correctly when the frame is show
  11. Hi! I have a TUniDBGrid control with Grouping.enabled = True and Grouping.Collapsible = False. I need to make some actions with record user double clicked on, but I need to do this only with "data" records, not with groups. How can I do this? Thanks in advance for help!
  12. Well, I would like to use the keyboard to navigate in the grid - something like this here: https://fiddle.sencha.com/#fiddle/ron&view/editor Can this be done without changing the source code ? If not - I found the place where to modify the DBGrid - I just need to find the please to inject the following code into the "Ext.application({" Can you give me a tipp on how to do this ? Thanks Nils ----- functions I would like to inject ---- function getDirection(e) { if (e.getKey() == e.LEFT) return 'left'
  13. Dear Forum, I wanted to change the color of the Row, where the mouse is just over. Usually in Triton, it has a light blue. I tried: .customSG .x-grid-row-focused .x-grid-td { background-color: #DDAA66 !important; } but it seems not to work. Does anyone have a better idea? Regards Gerhard
  14. Hello. I use dbgrid for display data from rest.Now it have problem not display data for some device.Iphone some version display and some version not display.How to reslove this problem? iphone xs max ios 13 iphone x ios 13 android
  15. How do I get the selected value of combobox when I edit a value in the grid, I need to get the moment I select, already tried by combobox OnSelect and change more did not work.
  16. =GGG=

    DBGrid DrawRow

    Возможно ли в DBGrid закрасить конкретную строку? на данный момент нашел только возможность закрасить ячейку
  17. hi, how to change grouping header font name unidbgrid?
  18. При разворачивании строки, срабатывает событие CellClick. При этом Column.FieldName возвращает столбец, который был последний раз нажат. Это нормальное поведение грида? Grid - RowWidget.zip
  19. Hi, can you tell me the usage of "Images" property and "imageIndex" in DbGrid ? I have a table column with integers representing the index of the icon I want show from a UniImageList (Info,Warning,Error); can you explain how-to ? Regards
  20. I need to copy the text that was selected in the UnidbGrid, through the option of a PopUp menu. I am using the following code: var col: Integer; TextCopy: string; begin col: = gridSenhasLiberadas.CurrCol; Clipboard.AsText: = gridSeedLibrary.Columns.Items [col] .Field.AsString; TextCopy: = Clipboard.AsText; If I give a ShowMessage, I see the Clipboard, however I can not paste it anywhere else. Apparently it's not on the clipboard. How do I then get that dbGrid value and actually put it in the clipboard through a popup menu?
  21. Hi all, I would like to scroll with key arrows up and down the grid, even when the grid is in editing mode. I already enabled KeyNavigation in WebOptions, but the grid is navigable using the keys only when not in editing mode. When in editing mode, pressing arrow down, it is the same as pressing key END, that is it moves the cursor to the end of the text; while pressing arrow up, it moves the cursor to the beginning of the text. I would like that pressing arrow down, the current record is posted, and the dataset moves to the next record, while when pressing arrow
  22. Возможно ли использовать в uniGUI вложенные таблицы в TuniDBGrid на примере cxGrid Devexpress??? . Примерная реализация в ExtJS https://fiddle.sencha.com/#fiddle/nii&amp;view/editor
  23. Hi folks, i have a dbgrid with a column which the DataField behind holding a integer value. This integer value is a key to another table dataset. I set up a TuniDBLookupCombobox showing a string field in the dropdown and as Keyfield the integer value. Now i configured the column to show the LookupCombobox as the editor. My problem: The integer value is shown in de column, not the String field configured in the LookupCombobox. Can anybody help me with this?
  24. Hi all, I wonder if it's possible to specify the TITLE for an image cell in a DBGrid. It would be useful to show the hint/tooltip for the image/icon. The righe place should be OnDrtawColumnCell, but there as far as I can see there is only the possibility to specify the font, the color and the style. Something like that: <div unselectable="on" class="x-grid-cell-inner " title="my title"> <img src="/cache/medreferti_exe/res/__D5E09C51619AD97C38D717BA.png" width="24" height="24"> </div> thanks Andrea
  25. Hi, I have an error detected using UniDbGrid (TUniDbGrid) related to an Interbase table. Also I am using Delphi 10.2 Tokyo with Unigui version 10.0.1472. In a column where Integer type values ​​are loaded (the same happens with Float type fields), if I insert the value 0 (zero) when validating the previous record of its insertion in the table, the IsNull function returns the value True. The exact validation done in the BeforePost event of the table is as follows: If TableName.FieldByName ('AmountFrom'). IsNull then ShowMessage ("You must enter an amount greater than o
×
×
  • Create New...