الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

the table scroll bar does not point to the last record

Featured Replies

بتاريخ:

السلام عليكم,
عند انشاء record جديد في الجدول , قمت بانشاء method في bean تقوم بانشائه في اخر الجدول , عند الضغط على زر الانشاء فانه فعلا يتم انشاء record في اخر صف , لكن scroll bar لا ينتقل الى اخر صف ,حتى اقوم بذلك يدويا , لقد بحث في الانترنت فوجدت انه لبد من تغيير خاصية RowDisplay الى selected ،قمت بالامر لكن دون تغيير

 

    public void AjouterAttachement() {
        BindingContainer bindings =
        BindingContext.getCurrent().getCurrentBindingsEntry(); //accés à la page de définition
        DCIteratorBinding dciter = (DCIteratorBinding) bindings.get("Cmattach1Iterator"); //accéder à l'iterator
        RowSetIterator rsi = dciter.getRowSetIterator(); //accéder au RowSetIterator sous-jacent

        Row lastRow = rsi.last(); //se débrouiller jusqu'au dernier
        int lastRowIndex = rsi.getRangeIndexOf(lastRow); //obtenir l'index de la dernière ligne
        Row newRow = rsi.createRow(); //créer une nouvelle ligne
        newRow.setNewRowState(Row.STATUS_NEW); //initialiser la ligne
        rsi.insertRowAtRangeIndex(lastRowIndex + 1,
                                  newRow); //ajouter une ligne au dernier index + 1 pour qu'il devienne le dernier dans la plage définie
        rsi.setCurrentRow(newRow); //faire de row la ligne actuelle pour qu'elle s'affiche correctement
        EnregistrerAttachement();
        ExecuterTaches();
        
    }

problem last record.zip

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.